|
@ -0,0 +1,125 @@
|
|
|
|
package com.yihu.device.entity.kit;
|
|
|
|
|
|
|
|
import com.yihu.wlyy.entity.IdEntity;
|
|
|
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
import javax.persistence.Table;
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by 刘文彬 on 2018/7/18.
|
|
|
|
* 药盒用药记录
|
|
|
|
*/
|
|
|
|
@Entity
|
|
|
|
@Table(name = "kit_drug_use_record")
|
|
|
|
public class KitDrugUseRecord extends IdEntity {
|
|
|
|
|
|
|
|
private String code;//业务code
|
|
|
|
private Date insertTime;//记录添加时间
|
|
|
|
private Date useTime; //居民用药时间
|
|
|
|
private Date normalTime; //居民正常用药时间
|
|
|
|
private Integer recordType; //记录类型(1、手动,2、设备)
|
|
|
|
private Integer useDrugStatus;//用药状态(1、按时,2、超时,3、漏用)
|
|
|
|
private String deviveSn;//药盒的sn码
|
|
|
|
private String deviveModel;//药盒型号
|
|
|
|
private String patientCode;//居民code
|
|
|
|
private String patientName;//居民姓名
|
|
|
|
private String kitAccountId;//药盒账号id
|
|
|
|
private String drugDetail;//药品清单json串
|
|
|
|
|
|
|
|
public Date getInsertTime() {
|
|
|
|
return insertTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setInsertTime(Date insertTime) {
|
|
|
|
this.insertTime = insertTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Date getUseTime() {
|
|
|
|
return useTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setUseTime(Date useTime) {
|
|
|
|
this.useTime = useTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Date getNormalTime() {
|
|
|
|
return normalTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setNormalTime(Date normalTime) {
|
|
|
|
this.normalTime = normalTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Integer getRecordType() {
|
|
|
|
return recordType;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setRecordType(Integer recordType) {
|
|
|
|
this.recordType = recordType;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Integer getUseDrugStatus() {
|
|
|
|
return useDrugStatus;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setUseDrugStatus(Integer useDrugStatus) {
|
|
|
|
this.useDrugStatus = useDrugStatus;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDeviveSn() {
|
|
|
|
return deviveSn;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDeviveSn(String deviveSn) {
|
|
|
|
this.deviveSn = deviveSn;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getKitAccountId() {
|
|
|
|
return kitAccountId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setKitAccountId(String kitAccountId) {
|
|
|
|
this.kitAccountId = kitAccountId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDrugDetail() {
|
|
|
|
return drugDetail;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDrugDetail(String drugDetail) {
|
|
|
|
this.drugDetail = drugDetail;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getCode() {
|
|
|
|
return code;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCode(String code) {
|
|
|
|
this.code = code;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDeviveModel() {
|
|
|
|
return deviveModel;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDeviveModel(String deviveModel) {
|
|
|
|
this.deviveModel = deviveModel;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getPatientCode() {
|
|
|
|
return patientCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setPatientCode(String patientCode) {
|
|
|
|
this.patientCode = patientCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getPatientName() {
|
|
|
|
return patientName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setPatientName(String patientName) {
|
|
|
|
this.patientName = patientName;
|
|
|
|
}
|
|
|
|
}
|