| | |
| | | package com.ld.igds.models; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | import javax.persistence.Column; |
| | |
| | | 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 2018年3月9日 下午2:54:37 |
| | | * @version 1.0 |
| | | * @date 2023年7月26日 |
| | | */ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "D_DRUG") |
| | | public class Drug { |
| | | public class Drug implements Serializable { |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "编码") |
| | | private String id; |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "药剂编号", description = "采购日期(yyyyMMdd)+三位顺序号") |
| | | private String id; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "组织编码") |
| | | private String companyId; |
| | | @Column(name = "DEPT_ID_", length = 50) |
| | | @PropertyDef(label = "库区代码") |
| | | private String deptId; |
| | | |
| | | @Column(name = "NAME_", length = 50) |
| | | @PropertyDef(label = "药品名称") |
| | | private String name; |
| | | @Column(name = "cgrq") |
| | | @PropertyDef(label = "采购日期") |
| | | @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date cgrq; |
| | | |
| | | @Column(name = "SPEC_", length = 50) |
| | | @PropertyDef(label = "规格说明") |
| | | private String spec; |
| | | @Column(name = "DEPT_NAME_", length = 256) |
| | | @PropertyDef(label = "库区名称") |
| | | private String deptName; |
| | | |
| | | @Column(name = "DOSAGE_", length = 20) |
| | | @PropertyDef(label = "剂型") |
| | | private String dosage; |
| | | @Column(name = "dwdm", length = 18) |
| | | @PropertyDef(label = "单位代码") |
| | | private String dwdm; |
| | | |
| | | @Column(name = "COUNT_") |
| | | @PropertyDef(label = "库存量") |
| | | private int count = 0; |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | | @PropertyDef(label = "组织编码") |
| | | private String companyId; |
| | | |
| | | @PropertyDef(label = "操作员") |
| | | @Column(name = "UPDATE_USER_", length = 30) |
| | | private String updateUser; |
| | | @Column(name = "NAME_", length = 50) |
| | | @PropertyDef(label = "药品名称") |
| | | private String name; |
| | | |
| | | @PropertyDef(label = "操作时间") |
| | | @Column(name = "UPDATE_TIME_") |
| | | private Date updateTime; |
| | | |
| | | @PropertyDef(label = "操作时间") |
| | | @Column(name = "REMARKS_", length = 300) |
| | | private String remarks; |
| | | @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; |
| | | |
| | | } |