lxzn-module-mdc/src/main/java/org/jeecg/modules/mdc/model/MdcEquipmentTree.java
@@ -22,7 +22,7 @@
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "设备树结构数据实体", description = "设备")
public class MdcEquipmentTree implements Serializable {
public class MdcEquipmentTree<T> implements Serializable {
    private static final long serialVersionUID = -5202127219834067917L;
@@ -60,6 +60,18 @@
     * 父级id(前端请求用)
     */
    private String parentId;
    /**
     * 车间描述
     */
    private String memo;
    private T entity;
    /**
     * 类型 1 车间 2设备
     */
    private Integer type;
    private List<MdcEquipmentTree> children = new ArrayList<>();
@@ -99,6 +111,8 @@
        this.key = treeModel.getId();
        this.value = treeModel.getId();
        this.title = treeModel.getProductionName();
        this.memo = treeModel.getMemo();
        this.type =treeModel.getType();
        return this;
    }