package com.fzzy.api.entity; import com.alibaba.fastjson.annotation.JSONField; import com.bstek.dorado.annotation.PropertyDef; 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 = "tykqbm", length = 22) private String tykqbm; @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 = "保质期", description = "几年、几个月等") @Column(name = "bzq", length = 50) private String bzq; @PropertyDef(label = "采购日期") @JSONField(format = "yyyy-MM-dd") @Column(name = "cgrq") 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") private Date zhgxsj; }