| | |
| | | package com.ld.igds.models; |
| | | |
| | | import com.alibaba.fastjson.annotation.JSONField; |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | |
| | | import javax.persistence.Column; |
| | |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 熏蒸备案方式表 |
| | |
| | | public class DrugLogWay implements Serializable { |
| | | |
| | | @Id |
| | | @Column(name = "WAY_ID_", length = 40) |
| | | @PropertyDef(label = "wayId") |
| | | private String wayId; |
| | | |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "id") |
| | | @PropertyDef(label = "id", description = "与备案信息关联ID,库区代码+熏蒸编码+填报日期") |
| | | private String id; |
| | | |
| | | @Column(name = "DRUG_LOG_ID_", length = 4) |
| | |
| | | |
| | | @Column(name = "DEPT_ID_", length = 21) |
| | | @PropertyDef(label = "库区代码") |
| | | @JSONField |
| | | private String deptId; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "组织编码") |
| | | private String companyId; |
| | | @Column(name = "tbrq") |
| | | @PropertyDef(label = "填报日期") |
| | | @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date tbrq; |
| | | |
| | | @Column(name = "xznd", precision = 20, scale = 3) |
| | | @PropertyDef(label = "设定熏蒸浓度", description = "单位:ml/m³") |