AdmSpace.java 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. package com.persagy.proxy.object.model;
  2. import com.fasterxml.jackson.databind.node.ArrayNode;
  3. import com.persagy.proxy.adm.annotations.CascadeColumn;
  4. import com.persagy.proxy.adm.model.AdmBaseEntity;
  5. import lombok.Data;
  6. import lombok.EqualsAndHashCode;
  7. import java.util.List;
  8. import java.util.Set;
  9. /**
  10. * ADM 空间 实体
  11. * @author lvxy
  12. * @date 2021/8/17
  13. */
  14. @Data
  15. @EqualsAndHashCode(callSuper = true)
  16. public class AdmSpace extends AdmBaseEntity<AdmSpace> {
  17. public static final String OBJ_TYPE = "space";
  18. /** 名称 */
  19. private String name;
  20. /** 本地编码 */
  21. private String localId;
  22. /** 本地名称 */
  23. private String localName;
  24. /** 项目ID */
  25. private String projectId;
  26. /** 建筑ID */
  27. private String buildingId;
  28. /** 楼层ID */
  29. private String floorId;
  30. /** 平台二维码 */
  31. private String defaultQRCode;
  32. /** BIM模型中编码 */
  33. private String bimId;
  34. /** 楼层选定区域轮廓线 */
  35. private ArrayNode outline;
  36. /** 轮廓线2 未使用*/
  37. private ArrayNode outline2;
  38. /** 图片 - 信息点里已存在的信息点不应在实体中重复定义为其他格式 */
  39. private ArrayNode pic;
  40. /** 空间是否受影响 */
  41. private Integer state;
  42. /** 空间常驻人数 */
  43. private Integer permanentPeopleNum;
  44. /** 井深 */
  45. private Float depth;
  46. /** 面宽 */
  47. private Float width;
  48. /** 建筑面积 */
  49. private Float buildArea;
  50. /** 使用面积 */
  51. private Float netArea;
  52. /** 高 */
  53. private Float height;
  54. /** 备注文字 */
  55. private String intro;
  56. /** 设计供冷功率 */
  57. private Float ratedCoolingp;
  58. /** 设计供热功率 */
  59. private Float ratedHeatingp;
  60. /** 空调形式 */
  61. private String acType;
  62. /** 空间朝向 */
  63. private String zoneOrientation;
  64. /** 空间功能区类型 */
  65. private String roomFuncType;
  66. /** 空间序号 */
  67. private Float roomSerial;
  68. /** 项目空间功能区类型 */
  69. private String projRoomFuncType;
  70. /** 设计照明功率 */
  71. private Float ratedLightp;
  72. /** 内外区分类 */
  73. private String zoneType;
  74. /** 租赁业态类型 */
  75. private Integer tenantType;
  76. /** 所属租户 */
  77. private String tenant;
  78. /** 配电容量 */
  79. private Float elecCap;
  80. /** 污染等级 */
  81. private String pollutionDegree;
  82. /** 对象类型code */
  83. private String classCode;
  84. /** 二维码图片 */
  85. private String qrcodePic;
  86. /** BIM模型中坐标 */
  87. private String bimLocation;
  88. /** 二维码图片 */
  89. private Boolean isAi = false;
  90. /** 垂直交通关系空间id */
  91. private Set<String> spaceIdList;
  92. /** 更新的时候使用此字段保存楼层和建筑id */
  93. private String flowBuild;
  94. /** 信息点 */
  95. //private Map<String, Object> infos;
  96. /** 级联-设备 */
  97. @CascadeColumn(graphCode = "MechInArch", relCode = "Eq2Sp", selectToObj = false)
  98. private List<AdmEquipment> equipment;
  99. /** 级联-元空间 使用中台的信息点,查询需要单独处理*/
  100. @CascadeColumn(graphCode = "MechInArch", relCode = "Sp2Si")
  101. private List<AdmISpace> zoneIspace;
  102. /** 级联-系统 */
  103. @CascadeColumn(graphCode = "MechInArch", relCode = "Sy2Sp", selectToObj = false)
  104. private List<AdmSystem> generalSystem;
  105. /** 级联-服务于空间的设备 */
  106. @CascadeColumn(graphCode = "MechForArch", relCode = "Eq2Sp", selectToObj = false)
  107. private List<AdmEquipment> equipmentFor;
  108. /** 建筑信息实体类 */
  109. @CascadeColumn(graphCode = "ArchSubset", relCode = "Bd2Sp", selectToObj = false)
  110. private AdmBuilding building;
  111. /** 楼层信息实体类 */
  112. @CascadeColumn(graphCode = "ArchSubset", relCode = "Fl2Sp", selectToObj = false)
  113. private AdmFloor floor;
  114. /** 级联-建筑 */
  115. @CascadeColumn(graphCode = "ArchSubset", relCode = "Bd2Sp", selectToObj = false)
  116. private List<AdmBuilding> buildingList;
  117. /** 级联-楼层 */
  118. @CascadeColumn(graphCode = "ArchSubset", relCode = "Fl2Sp", selectToObj = false)
  119. private List<AdmFloor> floorList;
  120. /** 资产列表 */
  121. @CascadeColumn
  122. private List<AdmProperty> propertyList;
  123. /** 空间轮廓线 未使用 */
  124. //private T spaceOutline;
  125. /** 对象类型 */
  126. private String objectType = OBJ_TYPE;
  127. }