package com.application.zhangshi_app_android.bean;
|
|
|
|
/**
|
* @author Ljj
|
* @date 2023.07.21. 18:09
|
* @desc 健康保健基本信息
|
*/
|
public class HealthCareBaseInfoBean{
|
private int id;
|
//用户id
|
private int uid;
|
//姓名
|
private String name;
|
//性别 1 男 0 女
|
private int sex;
|
//文化程度
|
private String educationLevel;
|
//职业
|
private String work;
|
//电话
|
private String phone;
|
//邮箱
|
private String email;
|
//地址
|
private String address;
|
//血型
|
private BloodClass bloodClass;
|
//过敏史
|
private AllergyClass allergyClass;
|
//遗传病史
|
private GeneticDiseaseClass geneticDiseaseClass;
|
//常用药物
|
private String medicine;
|
//目前基础病
|
private String baseDisease;
|
|
public static class BloodClass {
|
//a血型 1是 0否
|
private int a;
|
//b血型
|
private int b;
|
//o
|
private int o;
|
//ab
|
private int ab;
|
//rh
|
private int rh;
|
//other
|
private int other;
|
//其他血型
|
private String otherText;
|
//不清楚
|
private int unknown;
|
|
public int getA() {
|
return a;
|
}
|
|
public void setA(int a) {
|
this.a = a;
|
}
|
|
public int getB() {
|
return b;
|
}
|
|
public void setB(int b) {
|
this.b = b;
|
}
|
|
public int getO() {
|
return o;
|
}
|
|
public void setO(int o) {
|
this.o = o;
|
}
|
|
public int getAb() {
|
return ab;
|
}
|
|
public void setAb(int ab) {
|
this.ab = ab;
|
}
|
|
public int getRh() {
|
return rh;
|
}
|
|
public void setRh(int rh) {
|
this.rh = rh;
|
}
|
|
public int getOther() {
|
return other;
|
}
|
|
public void setOther(int other) {
|
this.other = other;
|
}
|
|
public String getOtherText() {
|
return otherText;
|
}
|
|
public void setOtherText(String otherText) {
|
this.otherText = otherText;
|
}
|
|
public int getUnknown() {
|
return unknown;
|
}
|
|
public void setUnknown(int unknown) {
|
this.unknown = unknown;
|
}
|
}
|
public static class AllergyClass {
|
//药物 1是 0否
|
private int medicine;
|
//食物
|
private int food;
|
//其他
|
private int other;
|
private String otherText;
|
|
public int getMedicine() {
|
return medicine;
|
}
|
|
public void setMedicine(int medicine) {
|
this.medicine = medicine;
|
}
|
|
public int getFood() {
|
return food;
|
}
|
|
public void setFood(int food) {
|
this.food = food;
|
}
|
|
public int getOther() {
|
return other;
|
}
|
|
public void setOther(int other) {
|
this.other = other;
|
}
|
|
public String getOtherText() {
|
return otherText;
|
}
|
|
public void setOtherText(String otherText) {
|
this.otherText = otherText;
|
}
|
}
|
public static class GeneticDiseaseClass{
|
//高血压 1是 0否
|
private int hypertension;
|
//糖尿病
|
private int diabetes;
|
//肿瘤
|
private int tumor;
|
private int other;//其他
|
private String otherText;
|
|
public int getHypertension() {
|
return hypertension;
|
}
|
|
public void setHypertension(int hypertension) {
|
this.hypertension = hypertension;
|
}
|
|
public int getDiabetes() {
|
return diabetes;
|
}
|
|
public void setDiabetes(int diabetes) {
|
this.diabetes = diabetes;
|
}
|
|
public int getTumor() {
|
return tumor;
|
}
|
|
public void setTumor(int tumor) {
|
this.tumor = tumor;
|
}
|
|
public int getOther() {
|
return other;
|
}
|
|
public void setOther(int other) {
|
this.other = other;
|
}
|
|
public String getOtherText() {
|
return otherText;
|
}
|
|
public void setOtherText(String otherText) {
|
this.otherText = otherText;
|
}
|
}
|
|
public int getId() {
|
return id;
|
}
|
|
public void setId(int id) {
|
this.id = id;
|
}
|
|
public int getUid() {
|
return uid;
|
}
|
|
public void setUid(int uid) {
|
this.uid = uid;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public int getSex() {
|
return sex;
|
}
|
|
public void setSex(int sex) {
|
this.sex = sex;
|
}
|
|
public String getSexStr(){
|
return sex == 1 ? "男" : "女";
|
}
|
public void setSexStr(String sexStr){
|
if (sexStr.equals("男")){
|
setSex(1);
|
}else {
|
setSex(0);
|
}
|
}
|
|
public String getEducationLevel() {
|
return educationLevel;
|
}
|
|
public void setEducationLevel(String educationLevel) {
|
this.educationLevel = educationLevel;
|
}
|
|
public String getWork() {
|
return work;
|
}
|
|
public void setWork(String work) {
|
this.work = work;
|
}
|
|
public String getPhone() {
|
return phone;
|
}
|
|
public void setPhone(String phone) {
|
this.phone = phone;
|
}
|
|
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 BloodClass getBloodClass() {
|
return bloodClass;
|
}
|
|
public void setBloodClass(BloodClass bloodClass) {
|
this.bloodClass = bloodClass;
|
}
|
|
public AllergyClass getAllergyClass() {
|
return allergyClass;
|
}
|
|
public void setAllergyClass(AllergyClass allergyClass) {
|
this.allergyClass = allergyClass;
|
}
|
|
public GeneticDiseaseClass getGeneticDiseaseClass() {
|
return geneticDiseaseClass;
|
}
|
|
public void setGeneticDiseaseClass(GeneticDiseaseClass geneticDiseaseClass) {
|
this.geneticDiseaseClass = geneticDiseaseClass;
|
}
|
|
public String getMedicine() {
|
return medicine;
|
}
|
|
public void setMedicine(String medicine) {
|
this.medicine = medicine;
|
}
|
|
public String getBaseDisease() {
|
return baseDisease;
|
}
|
|
public void setBaseDisease(String baseDisease) {
|
this.baseDisease = baseDisease;
|
}
|
}
|