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; import java.util.Date; /** * 安防-电子巡逻 * * @author: andy.jia * @description: * @version: * @data:2020年5月27日 * */ @Data @Entity @Table(name = "D_SEC_PATROL_RECORD") public class SecPatrolRecord 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 = "组织编码") private String companyId; @Column(name = "DEPT_ID_", length = 40) @PropertyDef(label = "所属分库") private String deptId; @Column(name = "DEVICE_ID_", length = 30) @PropertyDef(label = "设备编号") private String deviceId; @Column(name = "USER_NAME_", length = 50) @PropertyDef(label = "巡逻人") private String userName; @Column(name = "POINT_ID_", length = 20) @PropertyDef(label = "巡逻点ID") private String pointId; @Column(name = "POINT_NAME_", length = 50) @PropertyDef(label = "巡逻点名称") private String pointName; @Column(name = "CREATE_TIME_") @PropertyDef(label = "巡逻时间") private Date createTime; @Column(name = "LONGITUDE_", length = 30) @PropertyDef(label = "经度", description = "百度地图定位坐标") private String longitude; @Column(name = "LATITUDE_", length = 30) @PropertyDef(label = "纬度", description = "百度地图定位坐标") private String latitude; @Column(name = "IMG_NAME_", length = 100) @PropertyDef(label = "巡更拍照记录") private String imgName; }