package com.fzzy.async.fzzy61.entity; import com.bstek.dorado.annotation.PropertyDef; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import javax.persistence.*; import java.io.Serializable; import java.util.Date; /** * 环流熏蒸-药品库存 * * @ClassName: Fz61Drug * @date 2023年8月17日 */ @Data @Entity @Table(name = "D_DRUG") @IdClass(Fz61DrugKey.class) public class Fz61Drug implements Serializable { public static String SORT_PROP = "id"; @Id @Column(name = "ID_", length = 40) @PropertyDef(label = "药剂编号", description = "采购日期(yyyyMMdd)+三位顺序号") private String id; @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 = "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 = 50) @PropertyDef(label = "保质期", description = "几年、几个月等") private String bzq; @Column(name = "COUNT_") @PropertyDef(label = "库存量") private Double count = 0.0; @Column(name = "kcsldw", length = 1) @PropertyDef(label = "库存量单位", description = "1(默认):公斤;2:克;3:毫升;") private String kcsldw = "1"; @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; @Column(name = "DEL_TAG_") @PropertyDef(label = "删除标记,在页面删除时候使用") private String delTag; }