package com.fufan.mtsaas.modules.unsafeevent.baqsjrecordother.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_other")
public class BaqsjRecordOther implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    @ApiModelProperty(value = "事件明细ID")
    private Long id;
    @ApiModelProperty(value = "事件记录ID")
    private Long eventId;
    @ApiModelProperty(value = "公共事件类型：490-火灾，491-水灾，492-停电，493-触电，494-电梯故障，495-公共设施故障，496-化学物质外泄，497-辐射物质外泄，498-消防警报异常，499-机构建筑物异常，500-水电空调、医疗气体供应异常，501-地震，502-其他")
    private String publicType;
    @ApiModelProperty(value = "公共事件其他说明")
    private String publicTypeOther;
    @ApiModelProperty(value = "治安事件类型：510-偷窃、被盗物品，511-骚扰，512-侵犯隐私，513-他杀，514-恐吓，515-纵火，516-性侵害，517-管制药品遗失，518-病人使用违禁药品，519-制作其他公共危害事件，520-其他")
    private String publicSecurityType;
    @ApiModelProperty(value = "治安事件其他说明")
    private String publicSecurityTypeOther;
    @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;

}
