|
@@ -2,6 +2,7 @@ package com.persagy.proxy.adm.model;
|
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
|
|
+import com.fasterxml.jackson.databind.node.ObjectNode;
|
|
|
import com.persagy.proxy.adm.annotations.CascadeColumn;
|
|
|
import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
@@ -183,8 +184,12 @@ public class AdmEquipment extends AdmSBaseEntity<AdmEquipment>{
|
|
|
/** 部件数量 */
|
|
|
private Integer count = 0;
|
|
|
|
|
|
+ /** 级联-部件 table 对应关系表 idColumn 对应 本类的id childIdColumn 级联对象的关系id */
|
|
|
+ //@CascadeColumn(table="equipment", idColumn="class_code", childIdColumn="parent_id")
|
|
|
+ private List<AdmObjectType> componentCategory;
|
|
|
+
|
|
|
/** 级联-设备分类 */
|
|
|
//@SCascade(table="equipment", idColumn="id", childIdColumn="class_code")
|
|
|
- private AdmObjectType equipCategory;
|
|
|
+ private ObjectNode equipCategory;
|
|
|
|
|
|
}
|