diff --git a/src/main/java/com/four/common/duck/communitypatients/DiseaseDetail.java b/src/main/java/com/four/common/duck/communitypatients/DiseaseDetail.java new file mode 100644 index 0000000..7e65755 --- /dev/null +++ b/src/main/java/com/four/common/duck/communitypatients/DiseaseDetail.java @@ -0,0 +1,172 @@ +package com.four.common.duck.communitypatients; + +import java.util.Date; + +/** + * @author: tongCheng + * @Package: dimensional-health-homePage + * @ClassName: DiseaseDetail + * @date: 2023-10-25 16:56 + **/ +public class DiseaseDetail { + + /** + * 病症详情id + */ + private Long diseaseDetailId; + + /** + * 病症id + */ + private Long diseaseId; + + /** + * 病理 + */ + private String pathology; + + /** + * 症状 + */ + private String symptom; + + /** + * 宜与忌 + */ + private String attention; + + /** + * 西医治疗内容 + */ + private String westernTreatment; + + /** + * 创建人id + */ + private Long createId; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 修改人 + */ + private Long updateId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 详情状态 + */ + private Integer status; + + public Long getDiseaseDetailId() { + return diseaseDetailId; + } + + public void setDiseaseDetailId(Long diseaseDetailId) { + this.diseaseDetailId = diseaseDetailId; + } + + public Long getDiseaseId() { + return diseaseId; + } + + public void setDiseaseId(Long diseaseId) { + this.diseaseId = diseaseId; + } + + public String getPathology() { + return pathology; + } + + public void setPathology(String pathology) { + this.pathology = pathology; + } + + public String getSymptom() { + return symptom; + } + + public void setSymptom(String symptom) { + this.symptom = symptom; + } + + public String getAttention() { + return attention; + } + + public void setAttention(String attention) { + this.attention = attention; + } + + public String getWesternTreatment() { + return westernTreatment; + } + + public void setWesternTreatment(String westernTreatment) { + this.westernTreatment = westernTreatment; + } + + public Long getCreateId() { + return createId; + } + + public void setCreateId(Long createId) { + this.createId = createId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Long getUpdateId() { + return updateId; + } + + public void setUpdateId(Long updateId) { + this.updateId = updateId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public DiseaseDetail() { + } + + public DiseaseDetail(Long diseaseDetailId, Long diseaseId, String pathology, String symptom, String attention, String westernTreatment, Long createId, Date createTime, Long updateId, Date updateTime, Integer status) { + this.diseaseDetailId = diseaseDetailId; + this.diseaseId = diseaseId; + this.pathology = pathology; + this.symptom = symptom; + this.attention = attention; + this.westernTreatment = westernTreatment; + this.createId = createId; + this.createTime = createTime; + this.updateId = updateId; + this.updateTime = updateTime; + this.status = status; + } +} diff --git a/src/main/java/com/four/common/duck/communitypatients/MedicineDetail.java b/src/main/java/com/four/common/duck/communitypatients/MedicineDetail.java new file mode 100644 index 0000000..cb075cf --- /dev/null +++ b/src/main/java/com/four/common/duck/communitypatients/MedicineDetail.java @@ -0,0 +1,214 @@ +package com.four.common.duck.communitypatients; + +import java.util.Date; + +/** + * @author: tongCheng + * @Package: dimensional-health-homePage + * @ClassName: MedicineDetail + * @date: 2023-10-25 18:49 + **/ +public class MedicineDetail { + + /** + * 药品详情id + */ + private Long medicineDetailId; + + /** + * 药品id + */ + private Long medicineId; + + /** + * 药品成分 + */ + private String ingredient; + + /** + * 用药禁忌 + */ + private String medicineAvoid; + + /** + * 功能主治 + */ + private String majorFunction; + + /** + * 用法用量 + */ + private String usageAndDosage; + + /** + * 药品形状 + */ + private String character; + + /** + * 包装规格 + */ + private String packageSpecification; + + /** + * 不良反应 + */ + private String adverseReaction; + + /** + * 创建人 + */ + private Long createId; + + /** + * 创建时间 + */ + private Date createTime; + + /** + * 修改人 + */ + private Long updateId; + + /** + * 修改时间 + */ + private Date updateTime; + + /** + * 状态 + */ + private Integer status; + + public Long getMedicineDetailId() { + return medicineDetailId; + } + + public void setMedicineDetailId(Long medicineDetailId) { + this.medicineDetailId = medicineDetailId; + } + + public Long getMedicineId() { + return medicineId; + } + + public void setMedicineId(Long medicineId) { + this.medicineId = medicineId; + } + + public String getIngredient() { + return ingredient; + } + + public void setIngredient(String ingredient) { + this.ingredient = ingredient; + } + + public String getMedicineAvoid() { + return medicineAvoid; + } + + public void setMedicineAvoid(String medicineAvoid) { + this.medicineAvoid = medicineAvoid; + } + + public String getMajorFunction() { + return majorFunction; + } + + public void setMajorFunction(String majorFunction) { + this.majorFunction = majorFunction; + } + + public String getUsageAndDosage() { + return usageAndDosage; + } + + public void setUsageAndDosage(String usageAndDosage) { + this.usageAndDosage = usageAndDosage; + } + + public String getCharacter() { + return character; + } + + public void setCharacter(String character) { + this.character = character; + } + + public String getPackageSpecification() { + return packageSpecification; + } + + public void setPackageSpecification(String packageSpecification) { + this.packageSpecification = packageSpecification; + } + + public String getAdverseReaction() { + return adverseReaction; + } + + public void setAdverseReaction(String adverseReaction) { + this.adverseReaction = adverseReaction; + } + + public Long getCreateId() { + return createId; + } + + public void setCreateId(Long createId) { + this.createId = createId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Long getUpdateId() { + return updateId; + } + + public void setUpdateId(Long updateId) { + this.updateId = updateId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public MedicineDetail() { + } + + public MedicineDetail(Long medicineDetailId, Long medicineId, String ingredient, String medicineAvoid, String majorFunction, String usageAndDosage, String character, String packageSpecification, String adverseReaction, Long createId, Date createTime, Long updateId, Date updateTime, Integer status) { + this.medicineDetailId = medicineDetailId; + this.medicineId = medicineId; + this.ingredient = ingredient; + this.medicineAvoid = medicineAvoid; + this.majorFunction = majorFunction; + this.usageAndDosage = usageAndDosage; + this.character = character; + this.packageSpecification = packageSpecification; + this.adverseReaction = adverseReaction; + this.createId = createId; + this.createTime = createTime; + this.updateId = updateId; + this.updateTime = updateTime; + this.status = status; + } +} diff --git a/src/main/java/com/four/common/duck/request/DiseaseDetailRequest.java b/src/main/java/com/four/common/duck/request/DiseaseDetailRequest.java new file mode 100644 index 0000000..71e8927 --- /dev/null +++ b/src/main/java/com/four/common/duck/request/DiseaseDetailRequest.java @@ -0,0 +1,122 @@ +package com.four.common.duck.request; + +/** + * @author: tongCheng + * @Package: dimensional-health-homePage + * @ClassName: DiseaseDetailRequest + * @date: 2023-10-25 21:35 + **/ +public class DiseaseDetailRequest { + + /** + * 病症详情id + */ + private Long diseaseDetailId; + + /** + * 病症id + */ + private Long diseaseId; + + /** + * 病理 + */ + private String pathology; + + /** + * 症状 + */ + private String symptom; + + /** + * 宜与忌 + */ + private String attention; + + /** + * 西医治疗内容 + */ + private String westernTreatment; + + private String name; + + private Long pid; + + public Long getDiseaseDetailId() { + return diseaseDetailId; + } + + public void setDiseaseDetailId(Long diseaseDetailId) { + this.diseaseDetailId = diseaseDetailId; + } + + public Long getDiseaseId() { + return diseaseId; + } + + public void setDiseaseId(Long diseaseId) { + this.diseaseId = diseaseId; + } + + public String getPathology() { + return pathology; + } + + public void setPathology(String pathology) { + this.pathology = pathology; + } + + public String getSymptom() { + return symptom; + } + + public void setSymptom(String symptom) { + this.symptom = symptom; + } + + public String getAttention() { + return attention; + } + + public void setAttention(String attention) { + this.attention = attention; + } + + public String getWesternTreatment() { + return westernTreatment; + } + + public void setWesternTreatment(String westernTreatment) { + this.westernTreatment = westernTreatment; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Long getPid() { + return pid; + } + + public void setPid(Long pid) { + this.pid = pid; + } + + public DiseaseDetailRequest() { + } + + public DiseaseDetailRequest(Long diseaseDetailId, Long diseaseId, String pathology, String symptom, String attention, String westernTreatment, String name, Long pid) { + this.diseaseDetailId = diseaseDetailId; + this.diseaseId = diseaseId; + this.pathology = pathology; + this.symptom = symptom; + this.attention = attention; + this.westernTreatment = westernTreatment; + this.name = name; + this.pid = pid; + } +}