package com.fufan.mtsaas.modules.unsafeevent.baqsjrecordtransfusion.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.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * 不安全事件输血反应表
 *
 * @author Liby
 * @date 2025-02-18
 */
@Data
@ApiModel(description = "不安全事件输血反应表")
@TableName("baqsj_record_transfusion")
public class BaqsjRecordTransfusion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    @ApiModelProperty(value = "事件明细ID")
    private Long id;
    @ApiModelProperty(value = "事件记录ID")
    private Long eventId;
    @ApiModelProperty(value = "储血号")
    private String bloodStorageNo;
    @ApiModelProperty(value = "血型")
    private String bloodType;
    @ApiModelProperty(value = "输血量")
    private BigDecimal transfusionMount;
    @ApiModelProperty(value = "红细胞悬液")
    private BigDecimal redCell;
    @ApiModelProperty(value = "浓缩血小板")
    private Integer plateletConcentrate;
    @ApiModelProperty(value = "冷沉淀")
    private Integer coldSediment;
    @ApiModelProperty(value = "血浆")
    private BigDecimal plasma;
    @ApiModelProperty(value = "其他")
    private String other;
    @ApiModelProperty(value = "输血器名称")
    private String transfusionApparatusName;
    @ApiModelProperty(value = "批号")
    private String batchNo;
    @ApiModelProperty(value = "生产厂家")
    private String manufactureFactory;
    @ApiModelProperty(value = "不良反应 0-无，1-有，2-其他")
    private Integer badReaction;
    @ApiModelProperty(value = "不良反应其他说明")
    private String badReactionOther;
    @ApiModelProperty(value = "输血史 0-无，1-有，2-其他")
    private Integer transfusionHistory;
    @ApiModelProperty(value = "输血史其他说明")
    private String transfusionHistoryOther;
    @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;

}
