jiazx0107@163.com
2023-11-04 43ce77a85d8297a53dc25430fff10ead57296167
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
package com.ld.igds.models;
 
import java.io.Serializable;
import java.util.Date;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import com.bstek.dorado.annotation.PropertyDef;
 
/**
 * 环流熏蒸-药品库存
 *
 * @ClassName: Drug
 * @date 2023年7月26日
 */
@Data
@Entity
@Table(name = "D_DRUG")
public class Drug implements Serializable {
 
    @Id
    @Column(name = "ID_", length = 40)
    @PropertyDef(label = "药剂编号", description = "采购日期(yyyyMMdd)+三位顺序号")
    private String id;
 
    @Column(name = "DEPT_ID_", length = 50)
    @PropertyDef(label = "库区代码")
    private String deptId;
 
    @Column(name = "cgrq")
    @PropertyDef(label = "采购日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date cgrq;
 
    @Column(name = "DEPT_NAME_", length = 256)
    @PropertyDef(label = "库区名称")
    private String deptName;
 
    @Column(name = "dwdm", length = 18)
    @PropertyDef(label = "单位代码")
    private String dwdm;
 
    @Column(name = "COMPANY_ID_", length = 10)
    @PropertyDef(label = "组织编码")
    private String companyId;
 
    @Column(name = "NAME_", length = 50)
    @PropertyDef(label = "药品名称")
    private String name;
 
 
    @Column(name = "bzw", length = 1)
    @PropertyDef(label = "包装物", description = "1:瓶装,2:袋装,3:其他")
    private String bzw;
 
    @Column(name = "ggxh", length = 256)
    @PropertyDef(label = "型号规格", description = "如:100mg/粒或10g/片")
    private String ggxh;
 
    @Column(name = "aqsysms", length = 1000)
    @PropertyDef(label = "安全使用说明书")
    private String aqsysms;
 
    @Column(name = "sccj", length = 40)
    @PropertyDef(label = "生产厂家")
    private String sccj;
 
    @Column(name = "cgly", length = 40)
    @PropertyDef(label = "采购来源")
    private String cgly;
 
    @Column(name = "cctj", length = 200)
    @PropertyDef(label = "存储条件")
    private String cctj;
 
    @Column(name = "ccdd", length = 1)
    @PropertyDef(label = "储存地点", description = "1:药剂库,2:其他")
    private String ccdd;
 
    @Column(name = "bzwclfs", length = 1000)
    @PropertyDef(label = "包装物处理方式")
    private String bzwclfs;
 
    @Column(name = "czclfs", length = 1000)
    @PropertyDef(label = "残渣处理方式")
    private String czclfs;
 
    @Column(name = "bzq", length = 20)
    @PropertyDef(label = "保质期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date bzq;
 
//    @Column(name = "SPEC_", length = 50)
//    @PropertyDef(label = "规格说明")
//    private String spec;
 
    @Column(name = "DOSAGE_", length = 20)
    @PropertyDef(label = "剂型")
    private String dosage;
 
    @Column(name = "COUNT_")
    @PropertyDef(label = "库存量")
    private Double count = 0.0;
 
    @Column(name = "kcsldw", length = 1)
    @PropertyDef(label = "库存量单位", description = "1(默认):公斤;2:克;3:毫升;")
    private String kcsldw;
 
 
    @PropertyDef(label = "操作员")
    @Column(name = "UPDATE_USER_", length = 30)
    private String updateUser;
 
    @PropertyDef(label = "更新时间")
    @Column(name = "UPDATE_TIME_")
    private Date updateTime;
 
    @PropertyDef(label = "备注")
    @Column(name = "REMARKS_", length = 300)
    private String remarks;
 
}