package com.cirle.scientific.po;/*
 *24901
 *2022/12/26
 *15:04
 */

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author 24901
 */
@Entity
@Table(name = "qkj_lung_report_app")
@Data
@ApiModel
public class QkjLungReportApp {

    @javax.persistence.Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "肺报告id")
    private Long id;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "性别 1:男 2:女")
    private Integer sex;

    @ApiModelProperty(value = "用户唯一标识")
    private String memCard;

    @ApiModelProperty(value = "出生年月")
    private String dateOfBirth;

    @ApiModelProperty(value = "身高")
    private String height;

    @ApiModelProperty(value = "体重")
    private String weight;

    @ApiModelProperty(value = "FEV1正常预计值")
    private String predictLungTarget;

    @ApiModelProperty(value = "用药前FEV1指标")
    private String medBeforeLungTarget;

    @ApiModelProperty(value = "用药前FEV1预计指标")
    private String predictBeforeLungTarget;

    @ApiModelProperty(value = "用药前FEV1数值百分比")
    private String beforeLungTarget;

    @ApiModelProperty(value = "用药后FEV1预计指标")
    private String predictBackLungTarget;

    @ApiModelProperty(value = "用药后FEV1指标")
    private String medBackLungTarget;

    @ApiModelProperty(value = "用药后FEV1数值百分比")
    private String backLungTarget;

    @ApiModelProperty(value = "图片(逗号隔开)")
    private String picture;

    @ApiModelProperty(value = "肺功能报告结论 ")
    private String conclusion;

    @ApiModelProperty(value = "状态 0:未删除 1删除")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
