package com.ruoyi.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 健康表基础信息
|
* </p>
|
*
|
* @author ojq
|
* @since 2023-03-14
|
*/
|
@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 String nickName;
|
|
/**
|
* 性别,0:女、1:男
|
*/
|
private Integer sex;
|
|
/**
|
* 文化程度
|
*/
|
private String education;
|
|
/**
|
* 职业
|
*/
|
private String occupation;
|
|
/**
|
* 手机号
|
*/
|
private String phoneNumber;
|
|
/**
|
* 邮箱
|
*/
|
private String email;
|
|
/**
|
* 住址
|
*/
|
private String address;
|
|
/**
|
* 血型
|
*/
|
private Integer bloodType;
|
|
/**
|
* 过敏史
|
*/
|
private Integer allergy;
|
|
/**
|
* 遗传病史
|
*/
|
private Integer heritableDisease;
|
|
/**
|
* 常用药物
|
*/
|
private String medicinal;
|
|
/**
|
* 目前基础病
|
*/
|
private String baseDisease;
|
|
|
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 +
|
"}";
|
}
|
}
|