jiazx0107@163.com
2023-08-22 deee597fa30e9a40792a4eb094b6ce45a35bc13f
igds-recir/src/main/java/com/ld/igds/models/DrugLogWay.java
@@ -1,6 +1,8 @@
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;
@@ -8,6 +10,7 @@
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
/**
 * 熏蒸备案方式表
@@ -20,8 +23,12 @@
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)
@@ -30,11 +37,13 @@
    @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³")