package org.jeecg.modules.stm.bcs.handle.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
 
 
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 应急处置管理
 * @Author: jeecg-boot
 * @Date:   2025-09-25
 * @Version: V1.0
 */
@Data
@TableName("bcs_risk_event")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
 
public class BcsRiskEvent implements Serializable {
    private static final long serialVersionUID = 1L;

	/**pk*/
	@TableId(type = IdType.AUTO)

    private java.lang.Integer id;
	/**应急事件名称*/
	@Excel(name = "应急事件名称", width = 15)

    private java.lang.String name;
	/**事件类型 event_tp*/
	@Excel(name = "事件类型", width = 15, dicCode = "event_tp")
    @Dict(dicCode = "event_tp")

    private java.lang.Integer tp;
	/**事件等级*/
    @Excel(name = "事件等级", width = 15, dicCode = "level")
    @Dict(dicCode = "level")

    private java.lang.Integer level;
	/**牵头处置部门*/
	@Excel(name = "牵头处置部门", width = 15)

    private java.lang.String handleDepart;
	/**参与部门*/
	@Excel(name = "参与部门", width = 15)

    private java.lang.String supportDepart;
	/**事件发生时间*/
	@Excel(name = "事件发生时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")

    private java.util.Date sttime;
	/**结束时间*/
	@Excel(name = "结束时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")

    private java.util.Date endtime;
	/**处置结果*/
	@Excel(name = "处置结果", width = 15)

    private java.lang.String ret;
	/**状态 event_sta*/
	@Excel(name = "状态", width = 15, dicCode = "event_sta")
    @Dict(dicCode = "event_sta")

    private java.lang.Integer eventSta;
	/**说明*/
	@Excel(name = "说明", width = 15)

    private java.lang.String des;
	/**影响的分支机构数(省级)*/
	@Excel(name = "影响的分支机构数(省级)", width = 15)

    private java.lang.Integer affectedBranchCount;
	/**当前中断时长（分钟）*/
	@Excel(name = "当前中断时长（分钟）", width = 15)

    private java.lang.Integer outageDuration;
	/**创建人*/

    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")

    private java.util.Date createTime;
	/**更新人*/

    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")

    private java.util.Date updateTime;
	/**所属部门*/

    private java.lang.String sysOrgCode;

}
