YYC
2023-08-19 15c542eb3964bc33b5bfd00998f1bcd095bf1dfe
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
package com.fzzy.api.entity;
 
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
 
import lombok.Data;
 
import javax.persistence.*;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * 接口表-药剂信息
 */
@Data
@Entity
@Table(name = "API_1108")
public class Api1108 implements Serializable {
 
    /**
     *
     */
    private static final long serialVersionUID = -7131774374918644731L;
 
    @Id
    @Column(name = "ID_", length = 40)
    @JsonIgnore
    private String id;
 
    @JsonIgnore
    @PropertyDef(label = "业务id")
    @Column(name = "bizId", length = 40)
    private String bizId;
 
    @PropertyDef(label = "库区代码")
    @Column(name = "kqdm", length = 21)
    private String kqdm;
 
    @PropertyDef(label = "单位代码")
    @Column(name = "dwdm", length = 18)
    private String dwdm;
 
    @PropertyDef(label = "库区名称")
    @Column(name = "kqmc", length = 256)
    private String kqmc;
 
    @PropertyDef(label = "药剂编号")
    @Column(name = "yjbh", length = 50)
    private String yjbh;
 
    @PropertyDef(label = "药剂名称")
    @Column(name = "yjmc", length = 20)
    private String yjmc;
 
    @PropertyDef(label = "包装物")
    @Column(name = "bzw", length = 1)
    private String bzw;
 
    @PropertyDef(label = "型号规格")
    @Column(name = "ggxh", length = 256)
    private String ggxh;
 
    @PropertyDef(label = "安全使用说明书")
    @Column(name = "aqsysms", length = 1000)
    private String aqsysms;
 
    @PropertyDef(label = "生产厂家")
    @Column(name = "sccj", length = 40)
    private String sccj;
 
    @PropertyDef(label = "采购来源")
    @Column(name = "cgly", length = 40)
    private String cgly;
 
    @PropertyDef(label = "储存条件")
    @Column(name = "cctj", length = 200)
    private String cctj;
 
    @PropertyDef(label = "储存地点")
    @Column(name = "ccdd", length = 1)
    private String ccdd;
 
    @PropertyDef(label = "包装物处理方式")
    @Column(name = "bzwclfs", length = 1000)
    private String bzwclfs;
 
    @PropertyDef(label = "残渣处理方式")
    @Column(name = "czclfs", length = 1000)
    private String czclfs;
 
    @PropertyDef(label = "保质期")
    @Column(name = "bzq", length = 20)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date bzq;
 
    @PropertyDef(label = "采购日期")
    @JSONField(format = "yyyy-MM-dd")
    @Column(name = "cgrq", nullable = false)
    private Date cgrq;
 
    @PropertyDef(label = "库存数量")
    @Column(name = "kcsl", precision = 20, scale = 6)
    private Double kcsl;
 
    @Column(name = "kcsldw", length = 1)
    @PropertyDef(label = "库存量单位", description = "1(默认):公斤;2:克;3:毫升;")
    private String kcsldw;
    
    @PropertyDef(label = "操作标志")
    @Column(name = "czbz", length = 1)
    private String czbz;
 
    @PropertyDef(label = "最后更新时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @Column(name = "zhgxsj", nullable = false)
    private Date zhgxsj;
 
}