|
@ -0,0 +1,105 @@
|
|
|
package com.yihu.wlyy.entity.patient.prescription;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import com.yihu.wlyy.entity.IdEntity;
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
import javax.persistence.Entity;
|
|
|
import javax.persistence.Table;
|
|
|
import java.util.Date;
|
|
|
|
|
|
/**
|
|
|
* Created by Administrator on 2017/7/21.
|
|
|
* 处方配送
|
|
|
*/
|
|
|
@Entity
|
|
|
@Table(name = "wlyy_prescription_expressage_log")
|
|
|
public class PrescriptionExpressageLog extends IdEntity{
|
|
|
|
|
|
private String code; //业务code
|
|
|
private String prescriptionCode; //处方code 关联表wlyy_prescription code
|
|
|
private String expressageCode;//配送code 关联wlyy_prescription_expressage code
|
|
|
private Date createTime; //创建的时间
|
|
|
private String remark;//备注
|
|
|
|
|
|
private String acceptAddress;//路由节点发生的城市
|
|
|
private Date acceptTime;// 路由节点产生的时间,格式:YYYY-MM-DD HH24:MM:SS,示例:2012-7-30 09:30:00。
|
|
|
private String opCode;//路由节点操作码
|
|
|
private String acceptRemark;//路由节点具体描述
|
|
|
|
|
|
@Column(name = "code", unique = true , nullable=false)
|
|
|
public String getCode() {
|
|
|
return code;
|
|
|
}
|
|
|
|
|
|
public void setCode(String code) {
|
|
|
this.code = code;
|
|
|
}
|
|
|
|
|
|
public String getPrescriptionCode() {
|
|
|
return prescriptionCode;
|
|
|
}
|
|
|
|
|
|
public void setPrescriptionCode(String prescriptionCode) {
|
|
|
this.prescriptionCode = prescriptionCode;
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
|
|
|
public Date getCreateTime() {
|
|
|
return createTime;
|
|
|
}
|
|
|
|
|
|
public void setCreateTime(Date createTime) {
|
|
|
this.createTime = createTime;
|
|
|
}
|
|
|
|
|
|
public String getExpressageCode() {
|
|
|
return expressageCode;
|
|
|
}
|
|
|
|
|
|
public void setExpressageCode(String expressageCode) {
|
|
|
this.expressageCode = expressageCode;
|
|
|
}
|
|
|
|
|
|
public String getRemark() {
|
|
|
return remark;
|
|
|
}
|
|
|
|
|
|
public void setRemark(String remark) {
|
|
|
this.remark = remark;
|
|
|
}
|
|
|
|
|
|
public String getAcceptAddress() {
|
|
|
return acceptAddress;
|
|
|
}
|
|
|
|
|
|
public void setAcceptAddress(String acceptAddress) {
|
|
|
this.acceptAddress = acceptAddress;
|
|
|
}
|
|
|
|
|
|
public Date getAcceptTime() {
|
|
|
return acceptTime;
|
|
|
}
|
|
|
|
|
|
public void setAcceptTime(Date acceptTime) {
|
|
|
this.acceptTime = acceptTime;
|
|
|
}
|
|
|
|
|
|
public String getOpCode() {
|
|
|
return opCode;
|
|
|
}
|
|
|
|
|
|
public void setOpCode(String opCode) {
|
|
|
this.opCode = opCode;
|
|
|
}
|
|
|
|
|
|
public String getAcceptRemark() {
|
|
|
return acceptRemark;
|
|
|
}
|
|
|
|
|
|
public void setAcceptRemark(String acceptRemark) {
|
|
|
this.acceptRemark = acceptRemark;
|
|
|
}
|
|
|
}
|