package com.hdkj.lt.bf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@TableName("fhzg_se_current_event")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FhzgSeCurrentEvent implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Long id;
    private String feederId;
    private String feederName;
    private String alarmType;
    private String countyId;
    private String countyName;
    private String subsId;
    private LocalDateTime firstOverTime;
    private LocalDateTime triggerTime;
    private BigDecimal triggerLoadRate;
    private BigDecimal maxLoadRate;
    private BigDecimal lastLoadRate;
    private Integer status;
    private LocalDateTime recoverTime;
    /** 重构方案状态：0未触发 1生成中 2有方案 3无方案 -1调用失败 */
    private Integer reconStatus;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}