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.Data;
import lombok.Builder;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 供电能力日汇总
 *
 * @author lsl
 * @since 2026-07-25
 */
@TableName("fhzg_se_capacity_daily")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FhzgSeCapacityDaily implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /** 统计日期 */
    private LocalDate statDate;

    /** 馈线ID */
    private String feederId;

    /** 馈线名称 */
    private String feederName;

    /** 区县ID */
    private String countyId;

    /** 变电站ID */
    private String subsId;

    /** 当天最大负载率% */
    private BigDecimal maxLoadRate;

    /** 当天平均负载率% */
    private BigDecimal avgLoadRate;

    /** 重载断面数 */
    private Integer heavyCount;

    /** 过载断面数 */
    private Integer overloadCount;

    /** 总断面数 */
    private Integer totalSnapshots;

    private java.time.LocalDateTime createTime;

    private java.time.LocalDateTime updateTime;
}