package com.bonus.canteen.core.health.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 体征数据记录对象 health_person_body_record
 * 
 * @author xsheng
 * @date 2025-05-25
 */


@Data
@ToString
public class HealthPersonBodyRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 人员id */
    @Excel(name = "人员id")
    @ApiModelProperty(value = "人员id")
    private Long userId;

    /** 登记日期 */
    @ApiModelProperty(value = "登记日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "登记日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerDate;

    /** 身高 */
    @Excel(name = "身高")
    @ApiModelProperty(value = "身高")
    private BigDecimal height;

    /** 体重 */
    @Excel(name = "体重")
    @ApiModelProperty(value = "体重")
    private BigDecimal weight;

    /** BMI指数 */
    @Excel(name = "BMI指数")
    @ApiModelProperty(value = "BMI指数")
    private BigDecimal bmi;

    /** 体型 */
    @Excel(name = "体型")
    @ApiModelProperty(value = "体型")
    private String shape;

    /** 胸围 */
    @Excel(name = "胸围")
    @ApiModelProperty(value = "胸围")
    private BigDecimal bust;

    /** 腰围 */
    @Excel(name = "腰围")
    @ApiModelProperty(value = "腰围")
    private BigDecimal waistline;

    /** 血糖 */
    @Excel(name = "血糖")
    @ApiModelProperty(value = "血糖")
    private BigDecimal bloodSugar;

    /** 血脂 */
    @Excel(name = "血脂")
    @ApiModelProperty(value = "血脂")
    private Long bloodFat;

    /** 血压高 */
    @Excel(name = "血压高")
    @ApiModelProperty(value = "血压高")
    private BigDecimal bloodPressureHigh;

    /** 血压低 */
    @Excel(name = "血压低")
    @ApiModelProperty(value = "血压低")
    private BigDecimal bloodPressureLow;

    /** 心率 */
    @Excel(name = "心率")
    @ApiModelProperty(value = "心率")
    private BigDecimal heartRate;

    /** 血氧 */
    @Excel(name = "血氧")
    @ApiModelProperty(value = "血氧")
    private BigDecimal bloodOxygen;

    /** 尿酸 */
    @Excel(name = "尿酸")
    @ApiModelProperty(value = "尿酸")
    private Long uricAcid;

    /** 血压 */
    @Excel(name = "血压")
    @ApiModelProperty(value = "血压")
    private Long bloodPressure;

    /** 是否最新(1-是 2-否) */
    @Excel(name = "是否最新(1-是 2-否)")
    @ApiModelProperty(value = "是否最新(1-是 2-否)")
    private Long ifLatest;

    /** 是否删除(0-正常 2-删除) */
    private Long delFlag;

    /** 健康信息录入来源(1-系统录入 2-身高体重秤) */
    @Excel(name = "健康信息录入来源(1-系统录入 2-身高体重秤)")
    @ApiModelProperty(value = "健康信息录入来源(1-系统录入 2-身高体重秤)")
    private Long healthInfoSource;


}
