package com.fufan.mtsaas.modules.unsafeevent.baqsjrecordwrongblood.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_wrongblood")
public class BaqsjRecordWrongblood implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    @ApiModelProperty(value = "事件明细ID")
    private Long id;
    @ApiModelProperty(value = "事件记录ID")
    private Long eventId;
    @ApiModelProperty(value = "验血错误：380-血型错误,381-错误病人,382-其他")
    private String bloodTest;
    @ApiModelProperty(value = "验血错误其他说明")
    private String bloodTestOther;
    @ApiModelProperty(value = "备血错误：390-医嘱错误,391-数量与医嘱不同,392-电脑输入错误,393-时间延误，394-血制品保存不当，395-血制品遗失，396-血制品损坏，397-其他")
    private String bloodPrepare;
    @ApiModelProperty(value = "备血错误其他说明")
    private String bloodPrepareOther;
    @ApiModelProperty(value = "输血错误：400-血制品类型错误，401-血型错误，402-病人身份确认错误，403-技术错误，404-其他")
    private String bloodInput;
    @ApiModelProperty(value = "输血错误其他说明")
    private String bloodInputOther;
    @ApiModelProperty(value = "事后引起的输血反应：410-烦躁不安，411-皮肤痒，412-皮肤疹，413-心跳加速，414-呼吸急促，415-呼吸困难，416-发冷或寒颤，417-血尿，418-不明出血，419-血压下降，420-颜面潮红，421-发烧，422-发烧，423-无，424-其他")
    private String bloodInputReaction;
    @ApiModelProperty(value = "事后引起的输血反应其他说明")
    private String bloodInputReactionOther;
    @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;

}
