package org.jeecg.modules.iot.entity.xmlEntity.script; import lombok.Data; import javax.xml.bind.annotation.*; @Data @XmlRootElement(name = "Function") @XmlType(name = "Function") @XmlAccessorType(XmlAccessType.FIELD) public class FunctionEntity { @XmlAttribute(name = "Name") private String name; @XmlAttribute(name = "Describe") private String describe; @XmlAttribute(name = "State") private String state; @XmlAttribute(name = "DataType") private String dataType; @XmlAttribute(name = "Tag") private String tag; @XmlAttribute(name = "Codes") private String codes; }