AdmFloor.java 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. package com.persagy.proxy.object.model;
  2. import com.fasterxml.jackson.annotation.JsonProperty;
  3. import com.fasterxml.jackson.databind.node.ArrayNode;
  4. import com.fasterxml.jackson.databind.node.ObjectNode;
  5. import com.persagy.proxy.adm.annotations.CascadeColumn;
  6. import com.persagy.proxy.adm.model.AdmBaseEntity;
  7. import lombok.Data;
  8. import lombok.EqualsAndHashCode;
  9. import java.util.List;
  10. /**
  11. * ADM 楼层 实体
  12. * @author lvxy
  13. * @date 2021/8/16
  14. */
  15. @Data
  16. @EqualsAndHashCode(callSuper = true)
  17. public class AdmFloor extends AdmBaseEntity<AdmFloor> {
  18. public static final String OBJ_TYPE = "floor";
  19. /** 名称 */
  20. private String name;
  21. /** 本地编码 */
  22. private String localId;
  23. /** 本地名称 */
  24. private String localName;
  25. /** 平台默认二维码 */
  26. private String defaultQRCode;
  27. /** 项目ID */
  28. private String projectId;
  29. /** 建筑ID */
  30. private String buildingId;
  31. /** 坐标 */
  32. private String bimLocation;
  33. /** BIM模型中编码 */
  34. private String bimId;
  35. /** BIMID前缀 */
  36. private String bimIdPre;
  37. /** 楼层顺序号 */
  38. private Integer floorSequenceID;
  39. /** 楼层常驻人数 */
  40. private Double permanentPeopleNum;
  41. /** 楼层编码 */
  42. private String floorIdentity;
  43. /** 级联-建筑 */
  44. @CascadeColumn(graphCode = "ArchSubset", relCode = "Bd2Fl", selectToObj = false)
  45. private AdmBuilding building;
  46. /** 级联-项目 */
  47. @CascadeColumn() // TODO 没有这个关系
  48. private AdmProject project;
  49. /** 级联-贯通关系 */
  50. @CascadeColumn(graphCode = "ThroughRelationship", relCode = "Fl2Fl")
  51. private List<AdmFloor> floorThroughList;
  52. /** 模型文件id */
  53. private String modelId;
  54. /** 楼层选定区域轮廓线 */
  55. //private List<ObjectNode> outline;
  56. private List<ObjectNode> outline;
  57. /** 数量 */
  58. private String count;
  59. /** 自定义信息点 */
  60. private ObjectNode properties;
  61. /**
  62. * 中台存储自定义信息点 properties的string形式
  63. */
  64. private String propertiesInfo;
  65. /** 二维码图片 */
  66. private ArrayNode qrcodePic;
  67. /** 对象类型 */
  68. private String objectType = OBJ_TYPE;
  69. /** 楼层类型code */
  70. private String classCode = OBJ_TYPE;
  71. /** 空间列表 非中台信息*/
  72. @CascadeColumn(graphCode = "ArchSubset", relCode = "Fl2Sp")
  73. @JsonProperty("zoneSpaceList")
  74. private List<AdmSpace> spaceList;
  75. /** 楼层平面图地址 */
  76. //private String floorMap;
  77. /** 信息点 */
  78. //private Map<String, Object> infos;
  79. }