|  |  |  | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @Entity | 
|---|
|  |  |  | @Table(name = "D_DRUG") | 
|---|
|  |  |  | @IdClass(Fz40DrugKey.class) | 
|---|
|  |  |  | public class Fz40Drug implements Serializable { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Id | 
|---|
|  |  |  | @Column(name = "ID_", length = 40) | 
|---|
|  |  |  | @PropertyDef(label = "药剂编号", description = "库区代码+三位顺序号") | 
|---|
|  |  |  | @PropertyDef(label = "药剂编号", description = "采购日期(yyyyMMdd)+三位顺序号") | 
|---|
|  |  |  | private String id; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Id | 
|---|
|  |  |  | @Column(name = "DEPT_ID_", length = 50) | 
|---|
|  |  |  | @PropertyDef(label = "库区代码") | 
|---|
|  |  |  | private String deptId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Id | 
|---|
|  |  |  | @Column(name = "cgrq") | 
|---|
|  |  |  | @PropertyDef(label = "采购日期") | 
|---|
|  |  |  | @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") | 
|---|
|  |  |  | 
|---|
|  |  |  | @PropertyDef(label = "残渣处理方式") | 
|---|
|  |  |  | private String czclfs; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Column(name = "bzq", length = 40) | 
|---|
|  |  |  | @PropertyDef(label = "保质期") | 
|---|
|  |  |  | @Column(name = "bzq", length = 50) | 
|---|
|  |  |  | @PropertyDef(label = "保质期", description = "几年、几个月等") | 
|---|
|  |  |  | private String bzq; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //    @Column(name = "SPEC_", length = 50) | 
|---|