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.bf.entity.FhzgPlanPowerCut;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@Data
@NoArgsConstructor
@AllArgsConstructor
public class FhzgPlanPowerCutVO extends FhzgPlanPowerCut {

    // 光伏用户
    private Integer pvUsers;

    // 中压光伏用户
    private Integer mpvUsers;

    // 低压光伏用户
    private Integer lpvUsers;

    // 负荷用户
    private Integer transferUsers;

    // 重要用户
    private Integer transferCriticalUsers;

    // 敏感用户
    private Integer transferSensitiveUsers;

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

    //用户数量
    private Integer userCount;

    //保电用户
    private Integer protectUsers;

    //计划集合包含，历史版本
    private List<FhzgPlanPowerCut> histList;
}
