| | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 设备信息 |
| | |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "ID") |
| | | private String id; |
| | | |
| | | @Column(name = "kqdm", length = 40) |
| | | @PropertyDef(label = "库区代码") |
| | | private String kqdm; |
| | | @Column(name = "sbbh", length = 20) |
| | | @PropertyDef(label = "设备编号") |
| | | private String sbbh; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "组织编码", description = "") |
| | | private String companyId; |
| | | |
| | | @Column(name = "dwdm", length = 18) |
| | | @PropertyDef(label = "单位代码") |
| | | private String dwdm; |
| | | |
| | | @Column(name = "kqmc", length = 256) |
| | | @PropertyDef(label = "库区名称") |
| | | private String kqmc; |
| | | |
| | | @Column(name = "sbbh", length = 20) |
| | | @PropertyDef(label = "设备编号") |
| | | private String sbbh; |
| | | @Column(name = "DEPT_ID_", length = 40) |
| | | @PropertyDef(label = "所属库区") |
| | | private String deptId; |
| | | |
| | | @Column(name = "sbyqmc", length = 50) |
| | | @PropertyDef(label = "设备仪器名称") |
| | |
| | | |
| | | @Column(name = "jdsj") |
| | | @PropertyDef(label = "检定时间") |
| | | @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date jdsj; |
| | | |
| | | @Column(name = "jddw", length = 256) |
| | |
| | | |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "更新时间") |
| | | @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date updateTime; |
| | | |
| | | /** |
| | | * 检修记录 |
| | | */ |
| | | @Transient |
| | | private List<DeviceCheckup> checkupList; |
| | | |
| | | } |