package com.ruoyi.web.work.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 诊断信息
 */
@Data
@TableName(value = "tb_diagnosis")
@Accessors(chain = true)
public class Diagnosis {

    private Long id;
    @ApiModelProperty(value = "就诊ID")
    private Long visitId;//就诊ID
    @ApiModelProperty(value = "患者ID")
    private Long patId;//患者ID
    @ApiModelProperty(value = "科室名称")
    private String departmentName; //科室名称
    @ApiModelProperty(value = "主治医师")
    private String doctor; //主治医师
    @ApiModelProperty(value = "诊断代码")
    private String diagnosticCode; //诊断代码
    @ApiModelProperty(value = "诊断名称")
    private String diagnosticName;//诊断名称
    @ApiModelProperty(value = "诊断时间")
    private String diagnosisTime; //诊断时间
    @ApiModelProperty(value = "诊断类型代码")
    private String diagnosticType; //诊断类型代码
    @ApiModelProperty(value = "诊断类别代码")
    private String diagnosticCategoryCode; //诊断类别代码
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String updateBy;
    @TableField(fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
