package com.zhaojm.bean;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
/**
* @author
*/
public class DiseaseDetailDTO implements Serializable {
@ApiModelProperty("疾病主键")
private Integer diseaseId;
@ApiModelProperty("所属科室")
private String department;
@ApiModelProperty("所示类型")
private String diseaseType;
@ApiModelProperty("疾病名称")
private String diseaseName;
@ApiModelProperty("描述")
private String deseaseDescription;
@ApiModelProperty("病发表现")
private String deseaseManifestation;
@ApiModelProperty("治疗方法")
private String therapeuticMethod;
@ApiModelProperty("治疗标识(自我治疗、在线治疗、到院治疗)")
private String therapeuticMark;
@ApiModelProperty("录入时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date entryTime;
@ApiModelProperty("录入人")
private String entryPerson;
private String diseaseMedicine;
private List<MedicineDTO> diseaseMedicineList;
private static final long serialVersionUID = 1L;
public List<MedicineDTO> getDiseaseMedicineList() {
return diseaseMedicineList;
}
public void setDiseaseMedicineList(List<MedicineDTO> diseaseMedicineList) {
this.diseaseMedicineList = diseaseMedicineList;
}
public String getDiseaseMedicine() {
return diseaseMedicine;
}
public void setDiseaseMedicine(String diseaseMedicine) {
this.diseaseMedicine = diseaseMedicine;
}
public Integer getDiseaseId() {
return diseaseId;
}
public void setDiseaseId(Integer diseaseId) {
this.diseaseId = diseaseId;
}
public String getDepartment() {
return department;
}
public void setDepartment(String department) {
this.department = department;
}
public String getDiseaseType() {
return diseaseType;
}
public void setDiseaseType(String diseaseType) {
this.diseaseType = diseaseType;
}
public String getDiseaseName() {
return diseaseName;
}
public void setDiseaseName(String diseaseName) {
this.diseaseName = diseaseName;
}
public String getDeseaseDescription() {
return deseaseDescription;
}
public void setDeseaseDescription(String deseaseDescription) {
this.deseaseDescription = deseaseDescription;
}
public String getDeseaseManifestation() {
return deseaseManifestation;
}
public void setDeseaseManifestation(String deseaseManifestation) {
this.deseaseManifestation = deseaseManifestation;
}
public String getTherapeuticMethod() {
return therapeuticMethod;
}
public void setTherapeuticMethod(String therapeuticMethod) {
this.therapeuticMethod = therapeuticMethod;
}
public String getTherapeuticMark() {
return therapeuticMark;
}
public void setTherapeuticMark(String therapeuticMark) {
this.therapeuticMark = therapeuticMark;
}
public Date getEntryTime() {
return entryTime;
}
public void setEntryTime(Date entryTime) {
this.entryTime = entryTime;
}
public String getEntryPerson() {
return entryPerson;
}
public void setEntryPerson(String entryPerson) {
this.entryPerson = entryPerson;
}
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
DiseaseDetailDTO other = (DiseaseDetailDTO) that;
return (this.getDiseaseId() == null ? other.getDiseaseId() == null : this.getDiseaseId().equals(other.getDiseaseId()))
&& (this.getDepartment() == null ? other.getDepartment() == null : this.getDepartment().equals(other.getDepartment()))
&& (this.getDiseaseType() == null ? other.getDiseaseType() == null : this.getDiseaseType().equals(other.getDiseaseType()))
&& (this.getDiseaseName() == null ? other.getDiseaseName() == null : this.getDiseaseName().equals(other.getDiseaseName()))
&& (this.getDeseaseDescription() == null ? other.getDeseaseDescription() == null : this.getDeseaseDescription().equals(other.getDeseaseDescription()))
&& (this.getDeseaseManifestation() == null ? other.getDeseaseManifestation() == null : this.getDeseaseManifestation().equals(other.getDeseaseManifestation()))
&& (this.getTherapeuticMethod() == null ? other.getTherapeuticMethod() == null : this.getTherapeuticMethod().equals(other.getTherapeuticMethod()))
&& (this.getTherapeuticMark() == null ? other.getTherapeuticMark() == null : this.getTherapeuticMark().equals(other.getTherapeuticMark()))
&& (this.getEntryTime() == null ? other.getEntryTime() == null : this.getEntryTime().equals(other.getEntryTime()))
&& (this.getEntryPerson() == null ? other.getEntryPerson() == null : this.getEntryPerson().equals(other.getEntryPerson()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getDiseaseId() == null) ? 0 : getDiseaseId().hashCode());
result = prime * result + ((getDepartment() == null) ? 0 : getDepartment().hashCode());
result = prime * result + ((getDiseaseType() == null) ? 0 : getDiseaseType().hashCode());
result = prime * result + ((getDiseaseName() == null) ? 0 : getDiseaseName().hashCode());
result = prime * result + ((getDeseaseDescription() == null) ? 0 : getDeseaseDescription().hashCode());
result = prime * result + ((getDeseaseManifestation() == null) ? 0 : getDeseaseManifestation().hashCode());
result = prime * result + ((getTherapeuticMethod() == null) ? 0 : getTherapeuticMethod().hashCode());
result = prime * result + ((getTherapeuticMark() == null) ? 0 : getTherapeuticMark().hashCode());
result = prime * result + ((getEntryTime() == null) ? 0 : getEntryTime().hashCode());
result = prime * result + ((getEntryPerson() == null) ? 0 : getEntryPerson().hashCode());
return result;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", diseaseId=").append(diseaseId);
sb.append(", department=").append(department);
sb.append(", diseaseType=").append(diseaseType);
sb.append(", diseaseName=").append(diseaseName);
sb.append(", deseaseDescription=").append(deseaseDescription);
sb.append(", deseaseManifestation=").append(deseaseManifestation);
sb.append(", therapeuticMethod=").append(therapeuticMethod);
sb.append(", therapeuticMark=").append(therapeuticMark);
sb.append(", entryTime=").append(entryTime);
sb.append(", entryPerson=").append(entryPerson);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
毕业设计&课设--毕业设计-中医诊疗系统-疾病药品管理-中医开方.zip
需积分: 5 174 浏览量
2024-02-20
00:03:43
上传
评论
收藏 1.85MB ZIP 举报
Kwan的解忧杂货铺
- 粉丝: 1w+
- 资源: 3640
最新资源
- NVIDIA驱动、CUDA和Pytorch及其依赖
- html动态爱心代码一(附源码)
- c40539bc-071a-486c-9d52-9d0c18d62dac 4.html
- 基于物理的非视域成像(NLOS)算法,利用了nerf+python源码+文档说明
- yuluer知更鸟.7z(1).001
- python课程设计-基于tensorflow实现的图文生成程序,数据集flickr30k-images+源代码+文档说明+截图
- python作业-基于Flickr30k数据集实现图像文本跨模态搜索python源码+数据集+测试界面+项目说明(高分课程设计)
- 基于Qt实现医院信息管理系统c++源码+文档说明+数据库(期末大作业)
- 基于python实现的医院信息管理系统完整源码+sql数据库+详细注释(高分课程设计)
- 基于python的眼底图像视杯视盘分割项目源码+文档说明+截图演示+详细注释(高分课程设计)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈