whywhyo
2023-07-19 d1abd1ef9c4b33d4c0fe9c15a43996b2f9f67048
zhang-content/src/main/java/com/ruoyi/domain/ZHealthBase.java
@@ -3,6 +3,8 @@
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
/**
@@ -13,195 +15,38 @@
 * @author ojq
 * @since 2023-03-14
 */
@Data
@TableName("z_health_base")
public class ZHealthBase implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Long id;
    /**
     * 名字
     */
    private String nickName;
    private Long uid; // 所属用户id
    /**
     * 性别,0:女、1:男
     */
    private Integer sex;
    private String name; // 姓名
    /**
     * 文化程度
     */
    private String education;
    private Integer sex; // 性别,1:男,0:女
    /**
     * 职业
     */
    private String occupation;
    private String educationLevel; // 文化程度
    /**
     * 手机号
     */
    private String phoneNumber;
    private String work; // 职业
    /**
     * 邮箱
     */
    private String email;
    private String phone; // 电话
    /**
     * 住址
     */
    private String address;
    private String email; // 电子邮件
    /**
     * 血型
     */
    private Integer bloodType;
    private String address; // 住址
    /**
     * 过敏史
     */
    private Integer allergy;
    private String blood; // 血型(json数组)
    /**
     * 遗传病史
     */
    private Integer heritableDisease;
    private String allergy; // 过敏史(json数组)
    /**
     * 常用药物
     */
    private String medicinal;
    private String geneticDisease; // 遗传病史(json数组)
    /**
     * 目前基础病
     */
    private String baseDisease;
    private String medicine; // 常用药物
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getNickName() {
        return nickName;
    }
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
    public Integer getSex() {
        return sex;
    }
    public void setSex(Integer sex) {
        this.sex = sex;
    }
    public String getEducation() {
        return education;
    }
    public void setEducation(String education) {
        this.education = education;
    }
    public String getOccupation() {
        return occupation;
    }
    public void setOccupation(String occupation) {
        this.occupation = occupation;
    }
    public String getPhoneNumber() {
        return phoneNumber;
    }
    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public Integer getBloodType() {
        return bloodType;
    }
    public void setBloodType(Integer bloodType) {
        this.bloodType = bloodType;
    }
    public Integer getAllergy() {
        return allergy;
    }
    public void setAllergy(Integer allergy) {
        this.allergy = allergy;
    }
    public Integer getHeritableDisease() {
        return heritableDisease;
    }
    public void setHeritableDisease(Integer heritableDisease) {
        this.heritableDisease = heritableDisease;
    }
    public String getMedicinal() {
        return medicinal;
    }
    public void setMedicinal(String medicinal) {
        this.medicinal = medicinal;
    }
    public String getBaseDisease() {
        return baseDisease;
    }
    public void setBaseDisease(String baseDisease) {
        this.baseDisease = baseDisease;
    }
    @Override
    public String toString() {
        return "ZHealthBase{" +
        "id=" + id +
        ", nickName=" + nickName +
        ", sex=" + sex +
        ", education=" + education +
        ", occupation=" + occupation +
        ", phoneNumber=" + phoneNumber +
        ", email=" + email +
        ", address=" + address +
        ", bloodType=" + bloodType +
        ", allergy=" + allergy +
        ", heritableDisease=" + heritableDisease +
        ", medicinal=" + medicinal +
        ", baseDisease=" + baseDisease +
        "}";
    }
    private String baseDisease; // 目前基础病
}