package com.ld.igds.models; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; /** * 门磁配置信息 * * @author vince * * */ @Data @Entity @Table(name = "D_DOOR_SENSOR") public class DoorSensor implements Serializable { private static final long serialVersionUID = 1L; @Id @Column(name = "ID_", length = 40) @PropertyDef(label = "ID") private String id; @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码", description = "") private String companyId; @Column(name = "DEPOT_ID_", length = 10) @PropertyDef(label = "所属仓库") private String depotId; @Column(name = "DEPT_ID_", length = 18) @PropertyDef(label = "所属分库") private String deptId; @Column(name = "NAME_", length = 50) @PropertyDef(label = "名称") private String name; @Column(name = "SN_", length = 40) @PropertyDef(label = "序列号",description = "设备序列号,用于唯一检索") private String sn; @Column(name = "STATUS_", length = 10) @PropertyDef(label = "当前状态", description = "查看枚举") private String status; @Column(name = "PRODUCER_", length = 80) @PropertyDef(label = "厂商信息") private String producer; @Column(name = "CAMERA_ID_1", length = 40) @PropertyDef(label = "抓拍相机1") private String cameraId1; @Column(name = "CAMERA_ID_2", length = 40) @PropertyDef(label = "抓拍相机2") private String cameraId2; @Column(name = "CAMERA_ID_3", length = 40) @PropertyDef(label = "抓拍相机3") private String cameraId3; @Column(name = "REMARK_", length = 200) @PropertyDef(label = "备注", description = "备注信息") private String remark; }