package com.cirle.scientific.po;/*
 *24901
 *2022/12/21
 *9:54
 */

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "qkj_patient_app")
@Data
@ApiModel
public class QkjPatientApp implements Serializable {

    @javax.persistence.Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "患者表id")
    private Integer id;

    @ApiModelProperty(value = "医生二维码唯一标识")
    private String memCard;

    @ApiModelProperty(value = "患者姓名")
    private String patientName;

    @ApiModelProperty(value = "对应的类型 1: 问卷")
    private Integer objType;

    @ApiModelProperty(value = "类型对应的id")
    private Integer objId;

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

    @ApiModelProperty(value = "手机号")
    private String phone;

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

    @ApiModelProperty(value = "年龄")
    private String age;

    @ApiModelProperty(value = "是否完成问卷 0:未完成 ,1:完成")
    private Integer isAccomplishQuestion;

    @ApiModelProperty(value = "第一问卷分数")
    private Integer oneQuestionnaireScore;

    @ApiModelProperty(value = "第二问卷分数")
    private Integer towQuestionnaireScore;

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

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}
