package com.gxwebsoft.clinic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 病例列表
 *
 * @author LX
 * @since 2025-12-25 17:24:55
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ClinicCase对象", description = "病例列表")
public class ClinicCase implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    @ApiModelProperty(value = "医生用户id")
    private Integer doctorUserId;

    @ApiModelProperty(value = "病情主诉")
    private String patientCondition;

    @ApiModelProperty(value = "既往史")
    private String pastHistory;

    @ApiModelProperty(value = "过敏史")
    private String allergyHistory;

    @ApiModelProperty(value = "诊断")
    private String diagnostic;

    @ApiModelProperty(value = "治疗方案")
    private String plan;

    @ApiModelProperty(value = "照片")
    private String photoList;

    @ApiModelProperty(value = "0待审核  1通过  2拒绝")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "排序号")
    private Integer sortNumber;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

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

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

}
