package com.hdkj.lt.bf.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * 停电聚合数据（T-2 表一次SQL返回总时户数 + 总影响用户数）
 *
 * @author lsl
 * @since 2026-07-22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class OutageAggregationDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 总停电时户数 SUM(outage_hc_num) */
    private BigDecimal totalHouseholds;

    /** 总影响用户数 SUM(outage_mvcons_cnt) + SUM(outage_lvcons_cnt) */
    private BigDecimal totalAffectedUsers;
}
