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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.hdkj.lt.base.serializer.BigDecimalSerializer;
import com.hdkj.lt.core.bizms.modle.po.fault.FaultPowerCut;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author lisonglin
 * @date: 2025/5/29
 * @Description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FhzgFaultPowerCutVO extends FaultPowerCut {

    // 光伏用户
    @ApiModelProperty("光伏用户")
    private Integer pvUsers;

    // 中压光伏用户
    @ApiModelProperty("中压光伏用户")
    private Integer mpvUsers;

    // 低压光伏用户
    @ApiModelProperty("低压光伏用户")
    private Integer lpvUsers;

    // 负荷用户
    @ApiModelProperty("负荷用户")
    private Integer transferUsers;

    // 重要用户
    @ApiModelProperty("重要用户")
    private Integer transferCriticalUsers;

    // 敏感用户
    @ApiModelProperty("敏感用户")
    private Integer transferSensitiveUsers;

    //用户负荷
    @ApiModelProperty("用户负荷")
    @JsonSerialize(using = BigDecimalSerializer.Keep6DecimalSerializer.class)
    private BigDecimal userLoads;

    //用户数量
    @ApiModelProperty("用户数量")
    private Integer userCount;

    //保电用户
    @ApiModelProperty("保电用户")
    private Integer protectUsers;

    @ApiModelProperty("故障区段列表")
    private List<FhzgFaultPowerCutSectionVO> sectionList;

    @ApiModelProperty("故障id")
    private String faultId;
}
