| | |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 质量管理,2023年5月26日 根据新国粮规优化调整 |
| | |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "主键ID", description = "ZJ+检验类别+年月日时分秒") |
| | | @PropertyDef(label = "主键ID", description = "yyyyMMdd + 4位顺序号") |
| | | private String id; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | |
| | | @PropertyDef(label = "检验时间") |
| | | private Date time; |
| | | |
| | | @Column(name = "USER_", length = 50) |
| | | @PropertyDef(label = "检验人", description = "检验人员姓名,若有多个保管员") |
| | | private String user; |
| | | |
| | | @Column(name = "UNIT_", length = 50) |
| | | @PropertyDef(label = "检验单位") |
| | | private String unit; |
| | | |
| | | @Column(name = "USER_", length = 50) |
| | | @PropertyDef(label = "检验人", description = "检验人员姓名,若有多个保管员") |
| | | private String user; |
| | | |
| | | @Column(name = "STANDARD_", length = 4) |
| | | @PropertyDef(label = "检验依据", description = "1-国标,0-其他") |
| | |
| | | @Column(name = "RESULT_", length = 40) |
| | | @PropertyDef(label = "检验结论", description = "1、质量指标填写/达标/不达标 2、储存品质指标填写“宜存”、轻度不宜存”、“重度不宜存”3、食品安全指标填写“合格”、不合格” 多项指标时以#分隔,例如:达标|综合判定#宜存#合格 ") |
| | | private String result; |
| | | |
| | | @Column(name = "spaqzbsfhg", length = 40) |
| | | @PropertyDef(label = "食品安全指标是否合格", description = "0-不合格,1-合格") |
| | | private String spaqzbsfhg; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd") |
| | | @PropertyDef(label = "签发日期") |
| | |
| | | |
| | | @PropertyDef(label = "样品数量", required = true) |
| | | @Column(name = "ypsl", precision = 20, scale = 6) |
| | | private double ypsl; |
| | | private Double ypsl; |
| | | |
| | | @PropertyDef(label = "代表数量") |
| | | @Column(name = "dbsl", precision = 20, scale = 6) |
| | | private double dbsl; |
| | | private Double dbsl; |
| | | |
| | | @PropertyDef(label = "样品等级") |
| | | @Column(name = "ypdj", length = 2) |
| | |
| | | @Column(name = "UPDATE_TIME_") |
| | | @PropertyDef(label = "数据更新时间") |
| | | private Date updateTime; |
| | | // |
| | | // /** |
| | | // * 化验项目明细 |
| | | // */ |
| | | // @Transient |
| | | // private List<CheckItemData> checkItems; |
| | | |
| | | @Column(name = "REPORT_TYPE_", length = 10) |
| | | @PropertyDef(label = "报告类型", description = "1-单位检验,2-整体检验(加权平均),3-其他") |
| | | private String reportType; |
| | | |
| | | } |