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.LocalDate;
import java.time.LocalDateTime;

/**
 * 线路线损日汇总
 *
 * @author lsl
 * @since 2026-07-30
 */
@TableName("fhzg_se_line_loss_daily")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FhzgSeLineLossDaily 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;

    /** 日线损电量 kWh */
    private BigDecimal lineLossKwh;

    /** 日最大线损功率 kW */
    private BigDecimal maxLineLossKw;

    /** 日平均线损功率 kW */
    private BigDecimal avgLineLossKw;

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

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
