package cn.common.repository.entity;

import cn.common.common.entity.BaseEntity;
import cn.common.common.utils.spring.SnowflakeIdWorker;
import com.alibaba.fastjson.annotation.JSONField;
import java.time.LocalDateTime;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.*;


/**
* 病历信息实体
* @title: MedicalHistory.java
* @author create by Singer - Singer email:singer-coder@qq.com
* @date 2019/4/24 11:13
*/
@Data
@TableName("medical_history")
public class MedicalHistory extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 554510337302903482L;

    /**
     * 业务主键ID
     */
    private String medicalHistoryId;

    /**
     * 用户主键ID
     */
    private String authUserId;

    /**
     * 姓名
     */
    private String userName;

    /**
     * 性别
     */
    private Integer gender;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 婚姻
     */
    private Integer marriage;

    /**
     * 民族
     */
    private String nation;

    /**
     * 职业
     */
    private String occupation;

    /**
     * 出生地
     */
    private String birthPlace;

    /**
     * 现住址
     */
    private String presentAddress;

    /**
     * 工作单位
     */
    private String workUnit;

    /**
     * 身份证号
     */
    private String idCardNum;

    /**
     * 电话
     */
    private String phoneNum;

    /**
     * 入院时间
     */
    private LocalDateTime admittedTime;

    /**
     * 记录时间
     */
    private LocalDateTime recordTime;

    /**
     * 过敏状况
     */
    private String allergicCondition;

    /**
     * 病史叙述
     */
    private String historyNarrative;

}
