diff --git a/src/main/java/com/glxp/api/entity/thrsys/CodeRel.java b/src/main/java/com/glxp/api/entity/thrsys/CodeRel.java index 78e69f1e..060ea406 100644 --- a/src/main/java/com/glxp/api/entity/thrsys/CodeRel.java +++ b/src/main/java/com/glxp/api/entity/thrsys/CodeRel.java @@ -1,5 +1,8 @@ package com.glxp.api.entity.thrsys; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; @@ -9,55 +12,69 @@ import java.util.Date; @TableName(value = "code_rel") public class CodeRel { + + @TableId(type = IdType.AUTO) public Integer id; /** - * 器械最小销售产品标识 - */ - public String dinamecode; + * 器械最小销售产品标识 + */ + @TableField(value = "diNameCode") + public String diNameCode; /** - * 阿里药品标识码 - */ - public String drugcode; + * 阿里药品标识码 + */ + @TableField(value = "drugCode") + public String drugCode; /** - * 医保编码 - */ + * 医保编码 + */ + @TableField(value = "ybbm") public String ybbm; /** - * 阳光采购平台编码 - */ - public String yccode; + * 阳光采购平台编码 + */ + @TableField(value = "ycCode") + public String ycCode; /** - * 商品条码 - */ + * 商品条码 + */ + @TableField(value = "sptm") public String sptm; /** - * 药品本位码 - */ + * 药品本位码 + */ + @TableField(value = "ypbwm") public String ypbwm; /** - * 统一社会信用号 - */ + * 统一社会信用号 + */ + @TableField(value = "tyshxyh") public String tyshxyh; /** - * 国家编码9码 - */ + * 国家编码9码 + */ + @TableField(value = "gjbm") public String gjbm; + @TableField(value = "status") public String status; - public Date updatetime; + @TableField(value = "updateTime") + public Date updateTime; - public Date createtime; + @TableField(value = "createTime") + public Date createTime; - public Byte fromtype; + @TableField(value = "fromtype") + public Integer fromtype; } \ No newline at end of file