package com.ld.igds.models;
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
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:YAN
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_DEVICE_CHECKUP")
|
public class DeviceCheckup implements Serializable {
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 9157617424050247565L;
|
|
@Id
|
@Column(name = "id", length = 38)
|
private String id;
|
|
@Column(name = "COMPANY_ID_", length = 10)
|
@PropertyDef(label = "组织编码", description = "")
|
private String companyId;
|
|
@PropertyDef(label = "设备编号")
|
@Column(name = "sbbh", length = 20)
|
private String sbbh;
|
|
@PropertyDef(label = "库区代码")
|
@Column(name = "kqdm", length = 21)
|
private String kqdm;
|
|
@PropertyDef(label = "库区名称")
|
@Column(name = "kqmc", length = 256)
|
private String kqmc;
|
|
@PropertyDef(label = "单位代码")
|
@Column(name = "dwdm", length = 18)
|
private String dwdm;
|
|
@PropertyDef(label = "设备仪器名称")
|
@Column(name = "sbyqmc", length = 50)
|
private String sbyqmc;
|
|
@PropertyDef(label = "设备仪器代码")
|
@Column(name = "sbyqdm", length = 8)
|
private String sbyqdm;
|
|
@PropertyDef(label = "检定时间")
|
@JSONField(format = "yyyy-MM-dd")
|
@Column(name = "jdsj")
|
private Date jdsj;
|
|
@PropertyDef(label = "检定单位")
|
@Column(name = "jddw", length = 256)
|
private String jddw;
|
|
@PropertyDef(label = "检定结果")
|
@Column(name = "jdjg", length = 10)
|
private String jdjg;
|
|
@PropertyDef(label = "备注")
|
@Column(name = "remark", length = 500)
|
private String remark;
|
|
@PropertyDef(label = "最后更新时间")
|
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
@Column(name = "zhgxsj")
|
private Date zhgxsj;
|
}
|