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;
|
|
/**
|
* 门禁记录表
|
*
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_DOOR_RECORD")
|
public class DoorRecord implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name = "ID_", length = 40)
|
@PropertyDef(label = "主键")
|
private String id;
|
|
@Column(name = "APPLY_ID_", length = 40)
|
@PropertyDef(label = "申请表ID")
|
private String applyId;
|
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码")
|
private String companyId;
|
|
@Column(name = "DEPT_ID_", length = 40)
|
@PropertyDef(label = "所属分库")
|
private String deptId;
|
|
@Column(name = "DEPOT_ID_", length = 50)
|
@PropertyDef(label = "门仓库")
|
private String depotId;
|
|
@Column(name = "USER_", length = 20)
|
@PropertyDef(label = "开门人")
|
private String user;
|
|
@Column(name = "USER_NAME_", length = 30)
|
@PropertyDef(label = "开门人中文名")
|
private String userName;
|
|
@Column(name = "TIME_")
|
@PropertyDef(label = "开门时间")
|
private Date time;
|
|
@Column(name = "INFO_", length = 100)
|
@PropertyDef(label = "说明")
|
private String info;
|
|
@Column(name = "IMG1", length = 100)
|
@PropertyDef(label = "抓拍记录1")
|
private String img1;
|
|
@Column(name = "IMG2", length = 100)
|
@PropertyDef(label = "抓拍记录2")
|
private String img2;
|
|
}
|