|
@@ -109,7 +109,7 @@ public class AdmEquipment extends AdmSBaseEntity<AdmEquipment>{
|
|
|
private String qrcodePic;
|
|
|
|
|
|
/** 对象类型 */
|
|
|
- private String objectType;
|
|
|
+ private String objectType = OBJ_TYPE;
|
|
|
|
|
|
/** 资产信息实体类 资产对应设备设施关系 资产→设备设施*/
|
|
|
@CascadeColumn(graphCode = "Property2Mech", relCode = "Pe2Eq", selectToObj = false)
|
|
@@ -183,8 +183,8 @@ 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;
|
|
|
|
|
|
}
|