package com.emoon.chat.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author destiny
 * @description: 病历记录表
 * @date 2025/10/14 23:29
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("think_medical_rec")
public class MedicalRecDo {

    private Long id;

    /**
     * 病历编号
     */
    @JsonProperty("mr_id")
    @TableField("mr_id")
    private String mrId;

    /**
     * 病人就诊信息id
     */
    @JsonProperty("pat_visit_info_id")
    @TableField("pat_visit_info_id")
    private String patVisitInfoId;

    /**
     * 病案类型
     */
    @JsonProperty("type_name")
    @TableField("type_name")
    private String typeName;

    @JsonProperty("dept_id")
    @TableField("dept_id")
    private String deptId;

    @JsonProperty("dept_name")
    @TableField("dept_name")
    private String deptName;

    @TableField("status")
    private String status;


    @TableField("create_time")
    @JsonProperty("create_time")
    private String createTime;

    @TableField("creator")
    private String creator;


    @TableField("editor")
    private String editor;

    @JsonProperty("edit_time")
    @TableField("edit_time")
    private String editTime;

    /**
     * 病案完成人
     */
    @TableField("cmpltr")
    private String cmpltr;

    /**
     * 病案完成时间
     */
    @JsonProperty("cmplt_time")
    @TableField("cmplt_time")
    private String cmpltTime;

    /**
     * 病案序号
     */
    @TableField("sno")
    private String sno;

    @TableField("content")
    private String content;

    /**
     * 处理状态，0-未处理，1-处理中，2-已处理
     */
    @TableField("datastatus")
    private Integer dataStatus;
}
