package com.fufan.mtsaas.modules.unsafeevent.baqsjrecordhandle.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 不安全事件处理表
 *
 * @author Liby
 * @date 2025-02-18
 */
@Data
@ApiModel(description = "不安全事件处理表")
@TableName("baqsj_record_handle")
public class BaqsjRecordHandle implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    @ApiModelProperty(value = "事件明细ID")
    private Long id;
    @ApiModelProperty(value = "事件记录ID")
    private Long eventId;
    @ApiModelProperty(value = "无介入：100-不需任何处理，101-病人拒绝处置，102-其他")
    private String nonInvolved;
    @ApiModelProperty(value = "无介入其他说明")
    private String nonInvolvedOther;
    @ApiModelProperty(value = "医疗介入：120-持续观察，121-加强护理防范，122-监测生命体征，123-伤口护理，124-给予额外关注(如：约束、注射治疗、药物治疗)，125-其他")
    private String medicalInvolved;
    @ApiModelProperty(value = "医疗介入其他说明")
    private String medicalInvolvedOther;
    @ApiModelProperty(value = "其他介入：130-予以病人家属慰问及支持,131-移除与危害相关的设备或环境运作,32-上报警察机关,133-通报卫生主管机构,134-其他")
    private String otherInvolved;
    @ApiModelProperty(value = "其他介入其他说明")
    private String otherInvolvedOther;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "创建人")
    private String createBy;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "更新人")
    private String updateBy;

}
