package org.jeecg.modules.iot.entity.xmlEntity; import lombok.Data; import javax.xml.bind.annotation.*; import java.util.List; @Data @XmlType(name = "Config") @XmlRootElement(name = "Config") @XmlAccessorType(XmlAccessType.FIELD) public class Config { // 系统类型 @XmlElement(name = "SystemType", type = SystemType.class) private List systemTypeList; // 系统 @XmlElement(name = "ControlSystem", type = ControlSystem.class) public List controlSystemList; // 字节顺序 @XmlElement(name = "ByteOrder", type = ByteOrder.class) public List byteOrderList; // 参数类型 @XmlElement(name = "SystemDataType", type = SystemDataType.class) public List systemDataTypeList; }