Browse Source

长处方的实体类根据表的调整相应的字段也调整

liuwenbin 7 years ago
parent
commit
1698364fc6

+ 26 - 42
patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/patient/prescription/Prescription.java

@ -17,6 +17,7 @@ import java.util.Date;
public class Prescription extends IdEntity {
    private String code;                    //业务主键
    private String jwCode;                  //基卫的处方code
    private String parentCode;             //如果是续方 那就是处方的code
    private Date createTime;               //处方创建时间
    private Date reviewedTime;             //过期时间
@ -38,16 +39,17 @@ public class Prescription extends IdEntity {
    private String diagnosisCode;             //诊断的病种code
    private String diagnosis;                  //诊断名称
    private String consult;                    //咨询id 1对1
    private String remark;                     //处方备注
    private String dispensary_code;           //取药编码  关联wlyy_prescription_dispensary_code  code
    private String dispensaryAddress;         //取药地址
    //    private String dispensary_code;           //取药编码  关联wlyy_prescription_dispensary_code  code
//    private String dispensaryAddress;         //取药地址
    private Integer dispensaryType;            //取药类型:1 自取 2快递配送 3健管师配送
    private String expressNum;                  //快递单号
    private String expressCompanyName;         //快递公司名称
    private String caCertData;                  //ca加密信息
    //    private String expressNum;                  //快递单号
//    private String expressCompanyName;         //快递公司名称
    private String caMessage;                   //ca指纹信息
    private String jwCode;  //基卫的处方code
    private String reason;  //续方原因
    private String caCertData;//ca加密信息
    private String remark;                     //处方备注
    private String reason;                      //续方原因
    private Double ybCost;                      //医保费用
    private Double myCost;                      //自己付费
    @Column(name = "code", unique = true, nullable = false)
    public String getCode() {
@ -262,23 +264,6 @@ public class Prescription extends IdEntity {
        this.remark = remark;
    }
    @Column(name = "dispensary_code")
    public String getDispensary_code() {
        return dispensary_code;
    }
    public void setDispensary_code(String dispensary_code) {
        this.dispensary_code = dispensary_code;
    }
    @Column(name = "dispensary_address")
    public String getDispensaryAddress() {
        return dispensaryAddress;
    }
    public void setDispensaryAddress(String dispensaryAddress) {
        this.dispensaryAddress = dispensaryAddress;
    }
    @Column(name = "dispensary_type")
    public Integer getDispensaryType() {
@ -289,23 +274,6 @@ public class Prescription extends IdEntity {
        this.dispensaryType = dispensaryType;
    }
    @Column(name = "express_num")
    public String getExpressNum() {
        return expressNum;
    }
    public void setExpressNum(String expressNum) {
        this.expressNum = expressNum;
    }
    @Column(name = "express_company_name")
    public String getExpressCompanyName() {
        return expressCompanyName;
    }
    public void setExpressCompanyName(String expressCompanyName) {
        this.expressCompanyName = expressCompanyName;
    }
    @Column(name = "ca_message")
    public String getCaMessage() {
@ -339,4 +307,20 @@ public class Prescription extends IdEntity {
    public void setCaCertData(String caCertData) {
        this.caCertData = caCertData;
    }
    public Double getYbCost() {
        return ybCost;
    }
    public void setYbCost(Double ybCost) {
        this.ybCost = ybCost;
    }
    public Double getMyCost() {
        return myCost;
    }
    public void setMyCost(Double myCost) {
        this.myCost = myCost;
    }
}

+ 1 - 0
patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/patient/prescription/PrescriptionDispensaryCode.java

@ -20,6 +20,7 @@ public class PrescriptionDispensaryCode extends IdEntity{
    private String prescriptionCode;      //处方code  关联表wlyy_prescription code
    private Date createTime;               //创建时间
    private Date outTime;                  //过期时间
    private Integer type;                   //编码类型:1 居民取药码 2 配送员(健管师)取药码
    @Column(name = "code", unique = true , nullable=false)
    public String getCode() {

+ 54 - 0
patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/patient/prescription/PrescriptionInfo.java

@ -20,6 +20,12 @@ public class PrescriptionInfo extends IdEntity{
    private String prescriptionCode;      //处方code 关联表wlyy_prescription code
    private String drugCode;               //药品code
    private String drugName;               //药品名称
    private String drugRate;               //吃药频率
    private String drugFormat;             //药品规格
    private Integer num;                    //药品数目
    private Integer isRefrigerate;         //是否冷藏 1是 0否
    private String direction;               //药品用法
    private Double price;                    //药品价格
    @Column(name = "code",unique = true , nullable=false)
    public String getCode() {
@ -56,4 +62,52 @@ public class PrescriptionInfo extends IdEntity{
    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }
    public String getDrugRate() {
        return drugRate;
    }
    public void setDrugRate(String drugRate) {
        this.drugRate = drugRate;
    }
    public String getDrugFormat() {
        return drugFormat;
    }
    public void setDrugFormat(String drugFormat) {
        this.drugFormat = drugFormat;
    }
    public Integer getNum() {
        return num;
    }
    public void setNum(Integer num) {
        this.num = num;
    }
    public Integer getIsRefrigerate() {
        return isRefrigerate;
    }
    public void setIsRefrigerate(Integer isRefrigerate) {
        this.isRefrigerate = isRefrigerate;
    }
    public String getDirection() {
        return direction;
    }
    public void setDirection(String direction) {
        this.direction = direction;
    }
    public Double getPrice() {
        return price;
    }
    public void setPrice(Double price) {
        this.price = price;
    }
}