package com.fzzy.async.fzzy61.entity; import com.bstek.dorado.annotation.PropertyDef; import com.fasterxml.jackson.annotation.JsonFormat; 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_DEPT_DEVICE") public class Fz61DeptDevice implements Serializable { private static final long serialVersionUID = 1L; public static String SORT_PROP = "sbbh"; @Id @Column(name = "sbbh", length = 20) @PropertyDef(label = "设备编号") private String sbbh; @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码", description = "") private String companyId; @Column(name = "DEPT_ID_", length = 40) @PropertyDef(label = "所属库区") private String deptId; @Column(name = "sbyqmc", length = 50) @PropertyDef(label = "设备仪器名称") private String sbyqmc; @Column(name = "sbggxh", length = 50) @PropertyDef(label = "设备规格型号") private String sbggxh; @Column(name = "sccj", length = 256) @PropertyDef(label = "生产厂家") private String sccj; @Column(name = "scrq") @PropertyDef(label = "生产日期") @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") private Date scrq; @Column(name = "sbms", length = 50) @PropertyDef(label = "设备描述") private String sbms; @Column(name = "sbzt", length = 1) @PropertyDef(label = "设备状态",description = "1 完好 2 报废 3 待检修 4 其他") private String sbzt; @Column(name = "jdsj") @PropertyDef(label = "检定时间") private Date jdsj; @Column(name = "jddw", length = 256) @PropertyDef(label = "检定单位") private String jddw; @Column(name = "sbgly", length = 50) @PropertyDef(label = "设备管理员") private String sbgly; @Column(name = "UPDATE_TIME_") @PropertyDef(label = "更新时间") private Date updateTime; }