package com.fzzy.async.fzzy40.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 Fz40DeptDevice implements Serializable { private static final long serialVersionUID = 1L; @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 = "sbyqdm", length = 8) @PropertyDef(label = "设备仪器代码") private String sbyqdm; @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 = "设备状态") private String sbzt; @Column(name = "jdsj") @PropertyDef(label = "检定时间") private Date jdsj; @Column(name = "jddw", length = 256) @PropertyDef(label = "检定单位") private String jddw; @Column(name = "UPDATE_TIME_") @PropertyDef(label = "更新时间") private Date updateTime; }