From cee1fb994887a0c8443e63fc5717c0a5ba139c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=A5=E6=88=90?= <13191486+tong-cheng666@user.noreply.gitee.com> Date: Fri, 20 Oct 2023 18:59:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../duck/communitypatients/SymptomsDrugs.java | 10 +- .../request/PathologicalDetailsRequest.java | 129 ++++++++++++++++++ 2 files changed, 134 insertions(+), 5 deletions(-) create mode 100644 src/main/java/com/four/common/duck/request/PathologicalDetailsRequest.java diff --git a/src/main/java/com/four/common/duck/communitypatients/SymptomsDrugs.java b/src/main/java/com/four/common/duck/communitypatients/SymptomsDrugs.java index bd2e113..3436c00 100644 --- a/src/main/java/com/four/common/duck/communitypatients/SymptomsDrugs.java +++ b/src/main/java/com/four/common/duck/communitypatients/SymptomsDrugs.java @@ -15,6 +15,11 @@ public class SymptomsDrugs { */ private String name; + /** + * 与id关联 + */ + private Integer pid; + private String aname; private String bname; @@ -35,11 +40,6 @@ public class SymptomsDrugs { this.bname = bname; } - /** - * 与id关联 - */ - private Integer pid; - /** * 照片路径 */ diff --git a/src/main/java/com/four/common/duck/request/PathologicalDetailsRequest.java b/src/main/java/com/four/common/duck/request/PathologicalDetailsRequest.java new file mode 100644 index 0000000..8e35078 --- /dev/null +++ b/src/main/java/com/four/common/duck/request/PathologicalDetailsRequest.java @@ -0,0 +1,129 @@ +package com.four.common.duck.request; + +/** + * @author: tongCheng + * @Package: four-common-duck + * @ClassName: PathologicalDetailsRequest + * @date: 2023-10-20 18:55 + **/ +public class PathologicalDetailsRequest { + + /** + * 病症详情id + */ + private Integer detailsSymptomsId; + + /** + * 常见病症+常见药品id + */ + private Integer id; + + /** + * 病理 + */ + private String pathology; + + /** + * 症状 + */ + private String symptom; + + /** + * 宜与忌 + */ + private String prosCons; + + /** + * 中西药的治疗 + */ + private String heal; + + /** + * 名称 + */ + private String name; + + /** + * 与id关联 + */ + private Integer pid; + + + public Integer getDetailsSymptomsId() { + return detailsSymptomsId; + } + + public void setDetailsSymptomsId(Integer detailsSymptomsId) { + this.detailsSymptomsId = detailsSymptomsId; + } + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + 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 getProsCons() { + return prosCons; + } + + public void setProsCons(String prosCons) { + this.prosCons = prosCons; + } + + public String getHeal() { + return heal; + } + + public void setHeal(String heal) { + this.heal = heal; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getPid() { + return pid; + } + + public void setPid(Integer pid) { + this.pid = pid; + } + + public PathologicalDetailsRequest() { + } + + public PathologicalDetailsRequest(Integer detailsSymptomsId, Integer id, String pathology, String symptom, String prosCons, String heal, String name, Integer pid) { + this.detailsSymptomsId = detailsSymptomsId; + this.id = id; + this.pathology = pathology; + this.symptom = symptom; + this.prosCons = prosCons; + this.heal = heal; + this.name = name; + this.pid = pid; + } +}