package com.ld.igds.models;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
|
import lombok.Data;
|
|
import javax.persistence.*;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 安防-电子巡逻
|
*
|
* @author: andy.jia
|
* @description:
|
* @version:
|
* @data:2020年5月27日
|
*
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_SEC_PATROL")
|
public class SecPatrol 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 = "NAME_", length = 50)
|
@PropertyDef(label = "巡逻人")
|
private String name;
|
|
@Column(name = "LOCATION_", length = 50)
|
@PropertyDef(label = "巡逻点")
|
private String locaiton;
|
|
@Column(name = "UPDATE_TIME_")
|
@PropertyDef(label = "巡逻时间")
|
private Date updateTime;
|
|
@Column(name = "DEVICE_ID_", length = 20)
|
@PropertyDef(label = "设备编号")
|
private String deviceId;
|
|
@Column(name = "REMARK_", length = 300)
|
@PropertyDef(label = "备注")
|
private String remark;
|
|
}
|