From 1dfe61fdf1b36061871ead5337172801e64df201 Mon Sep 17 00:00:00 2001
From: Jinquan_Ou <Jinquan@gdut.com>
Date: 星期一, 03 四月 2023 16:07:36 +0800
Subject: [PATCH] 魅宠、家庭小医生1.0

---
 zhang-content/src/main/java/com/ruoyi/domain/ZfDoctor.java |  107 +++++++++--------------------------------------------
 1 files changed, 18 insertions(+), 89 deletions(-)

diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZfDoctor.java b/zhang-content/src/main/java/com/ruoyi/domain/ZfDoctor.java
index 54a2df7..d8200f8 100644
--- a/zhang-content/src/main/java/com/ruoyi/domain/ZfDoctor.java
+++ b/zhang-content/src/main/java/com/ruoyi/domain/ZfDoctor.java
@@ -3,6 +3,10 @@
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
+import com.ruoyi.common.annotation.Excel;
+import lombok.Data;
+import lombok.ToString;
+
 import java.io.Serializable;
 
 /**
@@ -14,138 +18,63 @@
  * @since 2023-03-12
  */
 @TableName("zf_doctor")
+@Data
+@ToString
 public class ZfDoctor implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
     @TableId(value = "id", type = IdType.AUTO)
-    private Integer id;
+    private Long id;
 
     /**
      * 鐥呯殑绫诲瀷
      */
+    @Excel(name = "鐥呯殑绫诲瀷")
     private String type;
 
     /**
      * 鐥囩姸
      */
+    @Excel(name = "鐥囩姸")
     private String symptom;
 
     /**
      * 鎸佺画鏃堕棿
      */
+    @Excel(name = "鎸佺画鏃堕棿")
     private String duration;
 
     /**
      * 涓尰
      */
-    private String cMedical;
+    @Excel(name = "涓尰")
+    private String cmedical;
 
     /**
      * 瑗垮尰
      */
-    private String wMedical;
+    @Excel(name = "瑗垮尰")
+    private String wmedical;
 
     /**
      * 鍔熸晥
      */
+    @Excel(name = "鍔熸晥")
     private String effect;
 
     /**
      * 閫傜敤浜�
      */
+    @Excel(name = "閫傜敤浜�")
     private String suitable;
 
     /**
      * 澶囨敞
      */
+    @Excel(name = "澶囨敞")
     private String remark;
 
+    private String url;
 
-    public Integer getId() {
-        return id;
-    }
-
-    public void setId(Integer id) {
-        this.id = id;
-    }
-
-    public String getType() {
-        return type;
-    }
-
-    public void setType(String type) {
-        this.type = type;
-    }
-
-    public String getSymptom() {
-        return symptom;
-    }
-
-    public void setSymptom(String symptom) {
-        this.symptom = symptom;
-    }
-
-    public String getDuration() {
-        return duration;
-    }
-
-    public void setDuration(String duration) {
-        this.duration = duration;
-    }
-
-    public String getcMedical() {
-        return cMedical;
-    }
-
-    public void setcMedical(String cMedical) {
-        this.cMedical = cMedical;
-    }
-
-    public String getwMedical() {
-        return wMedical;
-    }
-
-    public void setwMedical(String wMedical) {
-        this.wMedical = wMedical;
-    }
-
-    public String getEffect() {
-        return effect;
-    }
-
-    public void setEffect(String effect) {
-        this.effect = effect;
-    }
-
-    public String getSuitable() {
-        return suitable;
-    }
-
-    public void setSuitable(String suitable) {
-        this.suitable = suitable;
-    }
-
-    public String getRemark() {
-        return remark;
-    }
-
-    public void setRemark(String remark) {
-        this.remark = remark;
-    }
-
-    @Override
-    public String toString() {
-        return "ZfDoctor{" +
-        "id=" + id +
-        ", type=" + type +
-        ", symptom=" + symptom +
-        ", duration=" + duration +
-        ", cMedical=" + cMedical +
-        ", wMedical=" + wMedical +
-        ", effect=" + effect +
-        ", suitable=" + suitable +
-        ", remark=" + remark +
-        "}";
-    }
 }

--
Gitblit v1.9.1