|
|
|
@ -1,6 +1,8 @@
|
|
|
|
|
package com.glxp.api.entity.basic;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
@ -10,103 +12,314 @@ import java.util.Date;
|
|
|
|
|
* 耗材字典信息表
|
|
|
|
|
*/
|
|
|
|
|
@Data
|
|
|
|
|
@TableName("basic_products")
|
|
|
|
|
public class UdiProductEntity {
|
|
|
|
|
//
|
|
|
|
|
// private Long id;
|
|
|
|
|
// private String uuid;
|
|
|
|
|
// private String originUuid;
|
|
|
|
|
// private String nameCode;
|
|
|
|
|
// private String deviceRecordKey;
|
|
|
|
|
// private String packRatio;
|
|
|
|
|
// private String packLevel;
|
|
|
|
|
// private String packUnit;
|
|
|
|
|
// private Integer bhxjsl;
|
|
|
|
|
// private Integer bhzxxsbzsl;
|
|
|
|
|
// private Integer zxxsbzbhsydysl;
|
|
|
|
|
// private String bhxjcpbm;
|
|
|
|
|
// private String bzcj;
|
|
|
|
|
// private String cpmctymc;
|
|
|
|
|
// private String cplb;
|
|
|
|
|
// private String flbm;
|
|
|
|
|
// private String ggxh;
|
|
|
|
|
// private String qxlb;
|
|
|
|
|
// private String tyshxydm;
|
|
|
|
|
// private String ylqxzcrbarmc;
|
|
|
|
|
// private String zczbhhzbapzbh;
|
|
|
|
|
// private String ylqxzcrbarywmc;
|
|
|
|
|
// private String sydycpbs;
|
|
|
|
|
// private String sjcpbm;
|
|
|
|
|
// private Integer versionNumber;
|
|
|
|
|
// private Integer diType;
|
|
|
|
|
// private String ybbm;
|
|
|
|
|
// private String sptm;
|
|
|
|
|
// private String manufactory;
|
|
|
|
|
// private String manufactoryCode;
|
|
|
|
|
// private String measname;
|
|
|
|
|
// private Integer productType;
|
|
|
|
|
// private String scbssfbhph;
|
|
|
|
|
// private String scbssfbhxlh;
|
|
|
|
|
// private String scbssfbhscrq;
|
|
|
|
|
// private String scbssfbhsxrq;
|
|
|
|
|
// private String cpms;
|
|
|
|
|
// private Boolean allowNoBatch;
|
|
|
|
|
// private Boolean allowNoExpire;
|
|
|
|
|
// private Boolean allowNoProduct;
|
|
|
|
|
// private Boolean allowNoSerial;
|
|
|
|
|
// private String spmc;
|
|
|
|
|
// private String cplx;
|
|
|
|
|
// private String hchzsb;
|
|
|
|
|
// private String cpdls;
|
|
|
|
|
// private String basicPrductRemak1;
|
|
|
|
|
// private String basicPrductRemak2;
|
|
|
|
|
// private String basicPrductRemak3;
|
|
|
|
|
// private String basicPrductRemak4;
|
|
|
|
|
// private String basicPrductRemak5;
|
|
|
|
|
// private String basicPrductRemak6;
|
|
|
|
|
// private String basicPrductRemak7;
|
|
|
|
|
// private String basicPrductRemak8;
|
|
|
|
|
// private String price;
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// private String sfwblztlcp;
|
|
|
|
|
// private String cgzmraqxgxx;
|
|
|
|
|
// private String sfbjwycxsy;
|
|
|
|
|
// private String zdcfsycs;
|
|
|
|
|
// private String sfwwjbz;
|
|
|
|
|
// private String syqsfxyjxmj;
|
|
|
|
|
// private String mjfs;
|
|
|
|
|
// private String categoryName;
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// //本地生成信息
|
|
|
|
|
// private String batchNo;
|
|
|
|
|
// private String produceDate;
|
|
|
|
|
// private String expireDate;
|
|
|
|
|
// private String serialNo;
|
|
|
|
|
// private String udi;
|
|
|
|
|
// private String code;
|
|
|
|
|
// private Integer count;
|
|
|
|
|
// private String warehouseCode;
|
|
|
|
|
// private String deptCode;
|
|
|
|
|
// private String udplatCode;
|
|
|
|
|
// private String relId;//关联ID主键
|
|
|
|
|
// private Integer status;
|
|
|
|
|
// private String supId;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private Long relSupId;
|
|
|
|
|
|
|
|
|
|
private Boolean groupBuy;
|
|
|
|
|
|
|
|
|
|
private Long uid;
|
|
|
|
|
|
|
|
|
|
private Integer attributeType;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private String remark;
|
|
|
|
|
private String catalogcode;
|
|
|
|
|
//
|
|
|
|
|
/**
|
|
|
|
|
* 一级分类名称(学科,品名)
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "catalogCode1")
|
|
|
|
|
@ApiModelProperty(value = "一级分类名称(学科,品名)")
|
|
|
|
|
private Integer catalogCode1;
|
|
|
|
|
//
|
|
|
|
|
/**
|
|
|
|
|
* 二级分类名称(用途、品目)
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "catalogCode2")
|
|
|
|
|
@ApiModelProperty(value = "二级分类名称(用途、品目)")
|
|
|
|
|
private Integer catalogCode2;
|
|
|
|
|
//
|
|
|
|
|
// /**
|
|
|
|
|
// * 三级分类名称(部位、功能、品种)
|
|
|
|
|
// */
|
|
|
|
|
@TableField(value = "catalogCode3")
|
|
|
|
|
@ApiModelProperty(value = "三级分类名称(部位、功能、品种)")
|
|
|
|
|
private Integer catalogCode3;
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
private Boolean isStack;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private Long id;
|
|
|
|
|
@TableField(value = "uuid")
|
|
|
|
|
private String uuid;
|
|
|
|
|
@TableField(value = "originUuid")
|
|
|
|
|
private String originUuid;
|
|
|
|
|
@TableField(value = "nameCode")
|
|
|
|
|
private String nameCode;
|
|
|
|
|
@TableField(value = "deviceRecordKey")
|
|
|
|
|
private String deviceRecordKey;
|
|
|
|
|
@TableField(value = "packRatio")
|
|
|
|
|
private String packRatio;
|
|
|
|
|
@TableField(value = "packLevel")
|
|
|
|
|
private String packLevel;
|
|
|
|
|
@TableField(value = "packUnit")
|
|
|
|
|
private String packUnit;
|
|
|
|
|
@TableField(value = "bhxjsl")
|
|
|
|
|
private Integer bhxjsl;
|
|
|
|
|
@TableField(value = "bhzxxsbzsl")
|
|
|
|
|
private Integer bhzxxsbzsl;
|
|
|
|
|
@TableField(value = "zxxsbzbhsydysl")
|
|
|
|
|
private Integer zxxsbzbhsydysl;
|
|
|
|
|
@TableField(value = "bhxjcpbm")
|
|
|
|
|
private String bhxjcpbm;
|
|
|
|
|
@TableField(value = "bzcj")
|
|
|
|
|
private String bzcj;
|
|
|
|
|
@TableField(value = "cpmctymc")
|
|
|
|
|
private String cpmctymc;
|
|
|
|
|
@TableField(value = "cplb")
|
|
|
|
|
private String cplb;
|
|
|
|
|
@TableField(value = "flbm")
|
|
|
|
|
private String flbm;
|
|
|
|
|
@TableField(value = "ggxh")
|
|
|
|
|
private String ggxh;
|
|
|
|
|
@TableField(value = "qxlb")
|
|
|
|
|
private String qxlb;
|
|
|
|
|
@TableField(value = "tyshxydm")
|
|
|
|
|
private String tyshxydm;
|
|
|
|
|
@TableField(value = "ylqxzcrbarmc")
|
|
|
|
|
private String ylqxzcrbarmc;
|
|
|
|
|
@TableField(value = "zczbhhzbapzbh")
|
|
|
|
|
private String zczbhhzbapzbh;
|
|
|
|
|
@TableField(value = "ylqxzcrbarywmc")
|
|
|
|
|
private String ylqxzcrbarywmc;
|
|
|
|
|
@TableField(value = "sydycpbs")
|
|
|
|
|
private String sydycpbs;
|
|
|
|
|
@TableField(value = "sjcpbm")
|
|
|
|
|
private String sjcpbm;
|
|
|
|
|
@TableField(value = "versionNumber")
|
|
|
|
|
private Integer versionNumber;
|
|
|
|
|
@TableField(value = "diType")
|
|
|
|
|
private Integer diType;
|
|
|
|
|
@TableField(value = "ybbm")
|
|
|
|
|
private String ybbm;
|
|
|
|
|
@TableField(value = "sptm")
|
|
|
|
|
private String sptm;
|
|
|
|
|
@TableField(value = "manufactory")
|
|
|
|
|
private String manufactory;
|
|
|
|
|
private String manufactoryCode;
|
|
|
|
|
@TableField(value = "measname")
|
|
|
|
|
private String measname;
|
|
|
|
|
@TableField(value = "productType")
|
|
|
|
|
private Integer productType;
|
|
|
|
|
@TableField(value = "scbssfbhph")
|
|
|
|
|
private String scbssfbhph;
|
|
|
|
|
@TableField(value = "scbssfbhxlh")
|
|
|
|
|
private String scbssfbhxlh;
|
|
|
|
|
@TableField(value = "scbssfbhscrq")
|
|
|
|
|
private String scbssfbhscrq;
|
|
|
|
|
@TableField(value = "scbssfbhsxrq")
|
|
|
|
|
private String scbssfbhsxrq;
|
|
|
|
|
@TableField(value = "cpms")
|
|
|
|
|
private String cpms;
|
|
|
|
|
@TableField(value = "allowNoBatch")
|
|
|
|
|
private Boolean allowNoBatch;
|
|
|
|
|
@TableField(value = "allowNoExpire")
|
|
|
|
|
private Boolean allowNoExpire;
|
|
|
|
|
@TableField(value = "allowNoProduct")
|
|
|
|
|
private Boolean allowNoProduct;
|
|
|
|
|
@TableField(value = "allowNoSerial")
|
|
|
|
|
private Boolean allowNoSerial;
|
|
|
|
|
@TableField(value = "spmc")
|
|
|
|
|
private String spmc;
|
|
|
|
|
@TableField(value = "cplx")
|
|
|
|
|
private String cplx;
|
|
|
|
|
@TableField(value = "hchzsb")
|
|
|
|
|
private String hchzsb;
|
|
|
|
|
@TableField(value = "cpdls")
|
|
|
|
|
private String cpdls;
|
|
|
|
|
@TableField(value = "basicPrductRemak1")
|
|
|
|
|
private String basicPrductRemak1;
|
|
|
|
|
@TableField(value = "basicPrductRemak2")
|
|
|
|
|
private String basicPrductRemak2;
|
|
|
|
|
@TableField(value = "basicPrductRemak3")
|
|
|
|
|
private String basicPrductRemak3;
|
|
|
|
|
@TableField(value = "basicPrductRemak4")
|
|
|
|
|
private String basicPrductRemak4;
|
|
|
|
|
@TableField(value = "basicPrductRemak5")
|
|
|
|
|
private String basicPrductRemak5;
|
|
|
|
|
@TableField(value = "basicPrductRemak6")
|
|
|
|
|
private String basicPrductRemak6;
|
|
|
|
|
@TableField(value = "basicPrductRemak7")
|
|
|
|
|
private String basicPrductRemak7;
|
|
|
|
|
@TableField(value = "basicPrductRemak8")
|
|
|
|
|
private String basicPrductRemak8;
|
|
|
|
|
@TableField(value = "price")
|
|
|
|
|
private String price;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private String sfwblztlcp;
|
|
|
|
|
private String cgzmraqxgxx;
|
|
|
|
|
private String sfbjwycxsy;
|
|
|
|
|
private String zdcfsycs;
|
|
|
|
|
private String sfwwjbz;
|
|
|
|
|
private String syqsfxyjxmj;
|
|
|
|
|
private String mjfs;
|
|
|
|
|
private String categoryName;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
//本地生成信息
|
|
|
|
|
private String batchNo;
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private String produceDate;
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private String expireDate;
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private String serialNo;
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private String udi;
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private String code;
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private Integer count;
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private String warehouseCode;
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private String deptCode;
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private String udplatCode;
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private String relId;//关联ID主键
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private Integer status;
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private String supId;
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private Boolean useMuti; //是否多次使用
|
|
|
|
|
|
|
|
|
|
private Date updateTime;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private Long relSupId;
|
|
|
|
|
@TableField(value = "pinyinInitial")
|
|
|
|
|
private String pinyinInitial;
|
|
|
|
|
@TableField(value = "zdcfsycs")
|
|
|
|
|
private String zdcfsycs;
|
|
|
|
|
|
|
|
|
|
private Boolean groupBuy;
|
|
|
|
|
@TableField(value = "sfwblztlcp")
|
|
|
|
|
private String sfwblztlcp;
|
|
|
|
|
@TableField(value = "cgzmraqxgxx")
|
|
|
|
|
private String cgzmraqxgxx;
|
|
|
|
|
@TableField(value = "sfbjwycxsy")
|
|
|
|
|
private String sfbjwycxsy;
|
|
|
|
|
@TableField(value = "sfwwjbz")
|
|
|
|
|
private String sfwwjbz;
|
|
|
|
|
@TableField(value = "syqsfxyjxmj")
|
|
|
|
|
private String syqsfxyjxmj;
|
|
|
|
|
@TableField(value = "mjfs")
|
|
|
|
|
private String mjfs;
|
|
|
|
|
@TableField(value = "categoryName")
|
|
|
|
|
private String categoryName;
|
|
|
|
|
@TableField(value = "updateTime")
|
|
|
|
|
private Date updateTime;
|
|
|
|
|
@TableField(value = "useNum")
|
|
|
|
|
private Integer useNum;
|
|
|
|
|
@TableField(value = "updateUser")
|
|
|
|
|
private String updateUser;
|
|
|
|
|
@TableField(value = "createTime")
|
|
|
|
|
private Date createTime;
|
|
|
|
|
@TableField(value = "createUser")
|
|
|
|
|
private String createUser;
|
|
|
|
|
@TableField(value = "destinyType")
|
|
|
|
|
private Integer destinyType;
|
|
|
|
|
|
|
|
|
|
private Long uid;
|
|
|
|
|
private Integer purType;
|
|
|
|
|
private Integer attributeType;
|
|
|
|
|
/**
|
|
|
|
|
* 产品分类高值 :1:高值耗材;2.普通耗材
|
|
|
|
|
* 包装规格
|
|
|
|
|
*/
|
|
|
|
|
private Integer hcType;
|
|
|
|
|
@TableField(value = "bzgg")
|
|
|
|
|
private String bzgg;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 一级分类名称(学科,品名)
|
|
|
|
@ -135,37 +348,92 @@ public class UdiProductEntity {
|
|
|
|
|
@TableField(value = "matrial")
|
|
|
|
|
@ApiModelProperty(value = "耗材材质")
|
|
|
|
|
private String matrial;
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private Integer purType;
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private Integer hcType;
|
|
|
|
|
@TableField(value = "requireScanCode")
|
|
|
|
|
private Integer requireScanCode;
|
|
|
|
|
|
|
|
|
|
private String remark;
|
|
|
|
|
private String catalogcode;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 一级分类名称(学科,品名)
|
|
|
|
|
* 产品类型 1:药品 2:耗材
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "catalogCode1")
|
|
|
|
|
@ApiModelProperty(value = "一级分类名称(学科,品名)")
|
|
|
|
|
private Integer catalogCode1;
|
|
|
|
|
@TableField(value = "productsType")
|
|
|
|
|
private Integer productsType;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 二级分类名称(用途、品目)
|
|
|
|
|
* 每个层级的单位(例如:箱,盒,支)
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "catalogCode2")
|
|
|
|
|
@ApiModelProperty(value = "二级分类名称(用途、品目)")
|
|
|
|
|
private Integer catalogCode2;
|
|
|
|
|
@TableField(value = "levelUnit")
|
|
|
|
|
private String levelUnit;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 三级分类名称(部位、功能、品种)
|
|
|
|
|
* 制剂单位
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "catalogCode3")
|
|
|
|
|
@ApiModelProperty(value = "三级分类名称(部位、功能、品种)")
|
|
|
|
|
private Integer catalogCode3;
|
|
|
|
|
@TableField(value = "prepnUnit")
|
|
|
|
|
private String prepnUnit;
|
|
|
|
|
|
|
|
|
|
private Integer requireScanCode;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 包装规格
|
|
|
|
|
* 使用属性
|
|
|
|
|
*/
|
|
|
|
|
private String bzgg;
|
|
|
|
|
@TableField(value = "useAttribute")
|
|
|
|
|
private String useAttribute;
|
|
|
|
|
|
|
|
|
|
private Boolean isStack;
|
|
|
|
|
/**
|
|
|
|
|
* 运输条件
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "transportCondition")
|
|
|
|
|
private String transportCondition;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 存储条件
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "storageCondition")
|
|
|
|
|
private String storageCondition;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 特殊分类码
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "specialCode")
|
|
|
|
|
private String specialCode;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 使用属性
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "indate")
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
|
|
|
|
|
private Date indate;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 药品类型(详见码表) 1:特殊药品原料药,2:特殊药品制剂,3:普通药品,9:未分类
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "physicType")
|
|
|
|
|
private Integer physicType;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 制剂规格
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "prepnSpec")
|
|
|
|
|
private String prepnSpec;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 药品分类
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "majorType")
|
|
|
|
|
private Integer majorType;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 医保分类 1:甲类;2:乙类;3:丙类
|
|
|
|
|
*/
|
|
|
|
|
@TableField(value = "medicareType")
|
|
|
|
|
private Integer medicareType;
|
|
|
|
|
|
|
|
|
|
@TableField(value = "majorStatus")
|
|
|
|
|
private Integer majorStatus;
|
|
|
|
|
}
|
|
|
|
|