|
@ -0,0 +1,62 @@
|
|
|
package com.yihu.wlyy.entity.patient.prescription;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import com.yihu.wlyy.entity.IdEntity;
|
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
import javax.persistence.Table;
|
|
|
import java.util.Date;
|
|
|
|
|
|
/**
|
|
|
* Created by Trick on 2017/7/28.
|
|
|
*/
|
|
|
@Entity
|
|
|
@Table(name = "wlyy_prescription_diagnosis")
|
|
|
public class PrescriptionDiagnosis extends IdEntity {
|
|
|
|
|
|
private String code;
|
|
|
private String prescriptionCode;
|
|
|
private String name;
|
|
|
private Date createTime;
|
|
|
private Date updateTime;
|
|
|
|
|
|
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;
|
|
|
}
|
|
|
|
|
|
public String getName() {
|
|
|
return name;
|
|
|
}
|
|
|
|
|
|
public void setName(String name) {
|
|
|
this.name = name;
|
|
|
}
|
|
|
@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;
|
|
|
}
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
|
|
|
public Date getUpdateTime() {
|
|
|
return updateTime;
|
|
|
}
|
|
|
|
|
|
public void setUpdateTime(Date updateTime) {
|
|
|
this.updateTime = updateTime;
|
|
|
}
|
|
|
}
|