feige
2024-06-16 3ad8fb4e7cc1391e8090f3da6ffa9c48690a12a3
zhang-content/src/main/java/com/ruoyi/domain/ZHealthHabit.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;
/**
@@ -14,138 +16,35 @@
 * @since 2023-03-14
 */
@TableName("z_health_habit")
@Data
public class ZHealthHabit implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Long id;
    /**
     * 健康表所属者id
     */
    private Integer hid;
    private Long uid; // 所属用户id
    /**
     * 饮食喜好与忌口
     */
    private String eat;
    private String eatGood; // 饮食(喜)
    /**
     * 爱好与嗜好
     */
    private String hobby;
    private String eatBad; // 饮食(忌)
    /**
     * 睡眠状态
     */
    private String sleep;
    private String hobby; // 爱好
    /**
     * 大便状态
     */
    private String bigEgestion;
    private String addition; // 嗜好
    /**
     * 小便状态
     */
    private String smallEgestion;
    private String sleep; // 睡眠状态(json)
    /**
     * 饮食习惯
     */
    private String eatType;
    private String stoolStatus; // 大便规律(json)
    /**
     * 生活事件
     */
    private String lifeType;
    private String urineStatus; // 小便规律(json)
    private String stool; // 大便
    public Integer getId() {
        return id;
    }
    private String urine; // 小便
    public void setId(Integer id) {
        this.id = id;
    }
    private String eatType; // 饮食习惯(json)
    public Integer getHid() {
        return hid;
    }
    public void setHid(Integer hid) {
        this.hid = hid;
    }
    public String getEat() {
        return eat;
    }
    public void setEat(String eat) {
        this.eat = eat;
    }
    public String getHobby() {
        return hobby;
    }
    public void setHobby(String hobby) {
        this.hobby = hobby;
    }
    public String getSleep() {
        return sleep;
    }
    public void setSleep(String sleep) {
        this.sleep = sleep;
    }
    public String getBigEgestion() {
        return bigEgestion;
    }
    public void setBigEgestion(String bigEgestion) {
        this.bigEgestion = bigEgestion;
    }
    public String getSmallEgestion() {
        return smallEgestion;
    }
    public void setSmallEgestion(String smallEgestion) {
        this.smallEgestion = smallEgestion;
    }
    public String getEatType() {
        return eatType;
    }
    public void setEatType(String eatType) {
        this.eatType = eatType;
    }
    public String getLifeType() {
        return lifeType;
    }
    public void setLifeType(String lifeType) {
        this.lifeType = lifeType;
    }
    @Override
    public String toString() {
        return "ZHealthHabit{" +
        "id=" + id +
        ", hid=" + hid +
        ", eat=" + eat +
        ", hobby=" + hobby +
        ", sleep=" + sleep +
        ", bigEgestion=" + bigEgestion +
        ", smallEgestion=" + smallEgestion +
        ", eatType=" + eatType +
        ", lifeType=" + lifeType +
        "}";
    }
    private String lifeType; // 生活事件(json)
}