package com.persagy.proxy.adm.model; import com.persagy.proxy.adm.annotations.CascadeColumn; import lombok.Data; import lombok.EqualsAndHashCode; import java.util.ArrayList; import java.util.List; import java.util.Set; /** * ADM 空间 实体 * @author lvxy * @date 2021/8/17 */ @Data @EqualsAndHashCode(callSuper = true) public class AdmSpace extends AdmSBaseEntity{ public static final String OBJ_TYPE = "space"; /** 名称 */ private String name; /** 本地编码 */ private String localId; /** 本地名称 */ private String localName; /** 项目ID */ private String projectId; /** 建筑ID */ private String buildingId; /** 楼层ID */ private String floorId; /** 平台二维码 */ private String defaultQRCode; /** BIM模型中编码 */ private String bimId; /** 楼层选定区域轮廓线 */ private ArrayList>> outline; /** 轮廓线2 未使用*/ private ArrayList>> outline2; /** 图片 */ private ArrayList pic; /** 空间是否受影响 */ private String state; /** 空间常驻人数 */ private Integer permanentPeopleNum; /** 井深 */ private Float depth; /** 面宽 */ private Float width; /** 建筑面积 */ private Float buildArea; /** 使用面积 */ private Float netArea; /** 高 */ private Float height; /** 备注文字 */ private String intro; /** 设计供冷功率 */ private Float ratedCoolingp; /** 设计供热功率 */ private Float ratedHeatingp; /** 空调形式 */ private String acType; /** 空间朝向 */ private String zoneOrientation; /** 空间功能区类型 */ private String roomFuncType; /** 空间序号 */ private Float roomSerial; /** 项目空间功能区类型 */ private String projRoomFuncType; /** 设计照明功率 */ private Float ratedLightp; /** 内外区分类 */ private String zoneType; /** 租赁业态类型 */ private Integer tenantType; /** 所属租户 */ private String tenant; /** 配电容量 */ private Float elecCap; /** 污染等级 */ private String pollutionDegree; /** 对象类型code */ private String classCode; /** 二维码图片 */ private String qrcodePic; /** 二维码图片 */ private Boolean isAi = false; /** 垂直交通关系空间id */ private Set spaceIdList; /** 信息点 */ //private Map infos; /** 级联-设备 */ @CascadeColumn(graphCode = "MechInArch", relCode = "Eq2Sp", selectToObj = false) private List equipment; /** 级联-元空间 使用中台的信息点,查询需要单独处理*/ @CascadeColumn(graphCode = "MechInArch", relCode = "Sp2Si") private List zoneIspace; /** 级联-系统 */ @CascadeColumn(graphCode = "MechForArch", relCode = "Sy2Sp", selectToObj = false) private List generalSystem; /** 级联-服务于空间的设备 */ @CascadeColumn(graphCode = "MechForArch", relCode = "Eq2Sp", selectToObj = false) private List equipmentFor; /** 建筑信息实体类 */ @CascadeColumn(graphCode = "ArchSubset", relCode = "Bd2Sp", selectToObj = false) private AdmBuilding building; /** 楼层信息实体类 */ @CascadeColumn(graphCode = "ArchSubset", relCode = "Fl2Sp", selectToObj = false) private AdmFloor floor; /** 级联-建筑 */ @CascadeColumn(graphCode = "ArchSubset", relCode = "Bd2Sp", selectToObj = false) private List buildingList; /** 级联-楼层 */ @CascadeColumn(graphCode = "ArchSubset", relCode = "Fl2Sp", selectToObj = false) private List floorList; /** 资产列表 */ @CascadeColumn private List propertyList; /** 空间轮廓线 未使用 */ //private T spaceOutline; /** 对象类型 */ private String objectType = OBJ_TYPE; public String getZoneType(){ return zoneType; } public void setZoneType(String zoneType){ this.zoneType = zoneType; this.classCode = zoneType; } public String getClassCode(){ return classCode; } public void setClassCode(String classCode){ this.zoneType = classCode; this.classCode = classCode; } }