|
@ -19,164 +19,77 @@ import java.util.Date;
|
|
@Table(name = "wlyy_prescription_log")
|
|
@Table(name = "wlyy_prescription_log")
|
|
public class WlyyPrescriptionLogDO extends UuidIdentityEntity {
|
|
public class WlyyPrescriptionLogDO extends UuidIdentityEntity {
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
private String saasId;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 处方code 关联表wlyy_prescription id
|
|
|
|
*/
|
|
|
|
private String prescriptionCode;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 创建时间
|
|
|
|
*/
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
|
|
|
|
private Date createTime;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 类型: -1 失效 1HIS对接 2易联众对接 3创建处方 4 审核 5付款 6 配送 7完成 8物流对接
|
|
|
|
*/
|
|
|
|
private Integer type;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* (-2 患者自己取消 -1 审核不通过 , 0 审核中, 10 审核通过/待支付 ,21支付失败 20 配药中/支付成功, 21 等待领药 ,30 配送中 ,100配送成功/已完成)
|
|
|
|
*/
|
|
|
|
private Integer status;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 医生或者患者code
|
|
|
|
*/
|
|
|
|
private String userCode;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 医生或者患者name
|
|
|
|
*/
|
|
|
|
private String userName;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 1 患者 2医生
|
|
|
|
*/
|
|
|
|
private Integer userType;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 医院id
|
|
|
|
*/
|
|
|
|
private String hospital;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 医院名称
|
|
|
|
*/
|
|
|
|
private String hospitalName;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 操作是否成功 1成功 0失败
|
|
|
|
*/
|
|
|
|
private Integer flag;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 备注信息
|
|
|
|
*/
|
|
|
|
private String remark;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "saas_id")
|
|
|
|
public String getSaasId() {
|
|
|
|
return saasId;
|
|
|
|
}
|
|
|
|
public void setSaasId(String saasId) {
|
|
|
|
this.saasId = saasId;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "prescription_code")
|
|
|
|
|
|
private String outpatientId;//
|
|
|
|
private String prescriptionCode;//处方code 关联表wlyy_prescription id',
|
|
|
|
private String datajson;//附加信息展示字段',
|
|
|
|
private Integer status;//续方取消:-3 支付过期取消,-2 患者自己取消 ,-1 医生取消 ;候诊中:0 候诊中;就诊中:10 诊断中,11 药师审核失败 / 调整中,12 药师审核完成,13 开方失败/调整中;待支付:20 诊断完成/开方成功/待支付,21 支付失败/待支付中;待取药:30 支付成功/等待配药,31 配药成功/等待取药,32 配送中;已完成:100 已完成',
|
|
|
|
private Integer userType;//1 患者 2医生',
|
|
|
|
private String userCode;//医生或者患者code',
|
|
|
|
private String userName;//医生或者患者name',
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
|
|
|
|
private Date createTime;//创建时间',
|
|
|
|
|
|
|
|
public String getOutpatientId() {
|
|
|
|
return outpatientId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setOutpatientId(String outpatientId) {
|
|
|
|
this.outpatientId = outpatientId;
|
|
|
|
}
|
|
|
|
|
|
public String getPrescriptionCode() {
|
|
public String getPrescriptionCode() {
|
|
return prescriptionCode;
|
|
return prescriptionCode;
|
|
}
|
|
}
|
|
|
|
|
|
public void setPrescriptionCode(String prescriptionCode) {
|
|
public void setPrescriptionCode(String prescriptionCode) {
|
|
this.prescriptionCode = prescriptionCode;
|
|
this.prescriptionCode = prescriptionCode;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "create_time")
|
|
|
|
public Date getCreateTime() {
|
|
|
|
return createTime;
|
|
|
|
}
|
|
|
|
public void setCreateTime(Date createTime) {
|
|
|
|
this.createTime = createTime;
|
|
|
|
|
|
public String getDatajson() {
|
|
|
|
return datajson;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "type")
|
|
|
|
public Integer getType() {
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
public void setType(Integer type) {
|
|
|
|
this.type = type;
|
|
|
|
|
|
public void setDatajson(String datajson) {
|
|
|
|
this.datajson = datajson;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "status")
|
|
|
|
public Integer getStatus() {
|
|
public Integer getStatus() {
|
|
return status;
|
|
return status;
|
|
}
|
|
}
|
|
|
|
|
|
public void setStatus(Integer status) {
|
|
public void setStatus(Integer status) {
|
|
this.status = status;
|
|
this.status = status;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "user_code")
|
|
|
|
|
|
public Integer getUserType() {
|
|
|
|
return userType;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setUserType(Integer userType) {
|
|
|
|
this.userType = userType;
|
|
|
|
}
|
|
|
|
|
|
public String getUserCode() {
|
|
public String getUserCode() {
|
|
return userCode;
|
|
return userCode;
|
|
}
|
|
}
|
|
|
|
|
|
public void setUserCode(String userCode) {
|
|
public void setUserCode(String userCode) {
|
|
this.userCode = userCode;
|
|
this.userCode = userCode;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "user_name")
|
|
|
|
public String getUserName() {
|
|
public String getUserName() {
|
|
return userName;
|
|
return userName;
|
|
}
|
|
}
|
|
|
|
|
|
public void setUserName(String userName) {
|
|
public void setUserName(String userName) {
|
|
this.userName = userName;
|
|
this.userName = userName;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "user_type")
|
|
|
|
public Integer getUserType() {
|
|
|
|
return userType;
|
|
|
|
}
|
|
|
|
public void setUserType(Integer userType) {
|
|
|
|
this.userType = userType;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "hospital")
|
|
|
|
public String getHospital() {
|
|
|
|
return hospital;
|
|
|
|
}
|
|
|
|
public void setHospital(String hospital) {
|
|
|
|
this.hospital = hospital;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "hospital_name")
|
|
|
|
public String getHospitalName() {
|
|
|
|
return hospitalName;
|
|
|
|
}
|
|
|
|
public void setHospitalName(String hospitalName) {
|
|
|
|
this.hospitalName = hospitalName;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "flag")
|
|
|
|
public Integer getFlag() {
|
|
|
|
return flag;
|
|
|
|
}
|
|
|
|
public void setFlag(Integer flag) {
|
|
|
|
this.flag = flag;
|
|
|
|
|
|
public Date getCreateTime() {
|
|
|
|
return createTime;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "remark")
|
|
|
|
public String getRemark() {
|
|
|
|
return remark;
|
|
|
|
}
|
|
|
|
public void setRemark(String remark) {
|
|
|
|
this.remark = remark;
|
|
|
|
|
|
public void setCreateTime(Date createTime) {
|
|
|
|
this.createTime = createTime;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|