From b02beccf4567068cb47a3f1181a00039456c872d Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期三, 06 八月 2025 15:37:20 +0800 Subject: [PATCH] 用户修改姓名和电话同步修改uaid --- zhang-content/src/main/java/com/ruoyi/domain/ZfDoctor.java | 119 ++++++++++++++++------------------------------------------- 1 files changed, 33 insertions(+), 86 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..91b6fab 100644 --- a/zhang-content/src/main/java/com/ruoyi/domain/ZfDoctor.java +++ b/zhang-content/src/main/java/com/ruoyi/domain/ZfDoctor.java @@ -1,9 +1,16 @@ package com.ruoyi.domain; import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import com.ruoyi.common.annotation.Excel; +import lombok.Data; +import lombok.ToString; + import java.io.Serializable; +import java.util.Date; /** * <p> @@ -14,138 +21,78 @@ * @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; + + /** + * 澶勬柟 + */ + @TableField(exist = false) + private String prescription; /** * 涓尰 */ - 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; - } + @JsonFormat(pattern = "yyyy-MM-dd") + private Date createTime; - public void setId(Integer id) { - this.id = id; - } + private Long familyId; - public String getType() { - return type; - } + @TableField(exist = false) + private Integer ownData; - 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 + - "}"; - } + private Long shareId; } -- Gitblit v1.9.1