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; /** * GPS设备位置记录信息 * */ @Data @Entity @Table(name = "D_OA_GPS_RECORD") public class OAGpsRecord implements Serializable { private static final long serialVersionUID = 1L; @Id @Column(name = "ID_", length = 40) @PropertyDef(label = "主键ID") private String id; @Column(name = "PHONE_", length = 20) @PropertyDef(label = "设备手机号") private String phone; @Column(name = "LONGITUDE_", length = 50) @PropertyDef(label = "经度") private String longitude; @Column(name = "LATITUDE_", length = 10) @PropertyDef(label = "纬度") private String latitude; @Column(name = "UPDATE_TIME_") @PropertyDef(label = "更新时间") private Date updateTime; @Column(name = "SN_", length = 20) @PropertyDef(label = "鉴权码") private String sn; }