package org.jeecg.modules.iot.entity.xmlEntity.script; import lombok.Data; import org.jeecg.modules.iot.entity.xmlEntity.Protocol; import javax.xml.bind.annotation.*; import java.util.List; @Data @XmlRootElement(name ="Custom") @XmlType(name = "Custom") @XmlAccessorType(XmlAccessType.FIELD) public class CustomEntity { @XmlElement(name = "Function", type = FunctionEntity.class) public List functionEntityList; }