From d1abd1ef9c4b33d4c0fe9c15a43996b2f9f67048 Mon Sep 17 00:00:00 2001 From: whywhyo <1511349576@qq.com> Date: 星期三, 19 七月 2023 20:38:35 +0800 Subject: [PATCH] 4577 --- zhang-content/src/main/java/com/ruoyi/domain/ZHealthBase.java | 189 ++++------------------------------------------- 1 files changed, 17 insertions(+), 172 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/domain/ZHealthBase.java b/zhang-content/src/main/java/com/ruoyi/domain/ZHealthBase.java index 3c28234..282655e 100644 --- a/zhang-content/src/main/java/com/ruoyi/domain/ZHealthBase.java +++ b/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; // 鎵�灞炵敤鎴穒d - /** - * 鎬у埆锛�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; // 鐩墠鍩虹鐥� } -- Gitblit v1.9.1