zqy
5 天以前 b02beccf4567068cb47a3f1181a00039456c872d
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;
}