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.operationAbnormality.FhzgOperationAbnormalityAwaitTransferPathDetail;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

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

/**
 * @author lihao
 * @date: 2025/7/05
 * @Description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class FhzgAwaitTransferPathDetailVO {

    /**
     * 分组线路ID
     */
    @ApiModelProperty(value = "分组线路ID")
    private String groupLineId;
    /**
     * 分组线路编号
     */
    @ApiModelProperty(value = "分组线路编号")
    private int groupLineNo;

    @ApiModelProperty(value = "带供线路名称")
    private String lineNameIn;

    @ApiModelProperty(value = "带供线路Id")
    private String lineIdIn;

    @ApiModelProperty(value = "带供线路负载率")
    @JsonSerialize(using = BigDecimalSerializer.StripTrailingZerosSerializer.class)
    private BigDecimal afterLoadFactorIn;

    @ApiModelProperty(value = "负载率变化值")
    @JsonSerialize(using = BigDecimalSerializer.StripTrailingZerosSerializer.class)
    private BigDecimal loadChangeIn;

    @ApiModelProperty(value = "被带供线路名称")
    private String lineNameOut;

    @ApiModelProperty(value = "被带供线路Id")
    private String lineIdOut;

    @ApiModelProperty(value = "被带供线路负载率")
    @JsonSerialize(using = BigDecimalSerializer.StripTrailingZerosSerializer.class)
    private BigDecimal afterLoadFactorOut;

    @ApiModelProperty(value = "被带供负线路载率变化值")
    @JsonSerialize(using = BigDecimalSerializer.StripTrailingZerosSerializer.class)
    private BigDecimal loadChangeOut;

    @ApiModelProperty(value = "被带供负荷")
    @JsonSerialize(using = BigDecimalSerializer.StripTrailingZerosSerializer.class)
    private BigDecimal afterCurrent;

    @ApiModelProperty(value = "合环开关名称")
    private String switchName;

    @ApiModelProperty(value = "合环开关id")
    private String switchId;

    /**
     * 线路详细信息
     */
    List<FhzgOperationAbnormalityAwaitTransferPathDetail> awaitTransferPathDetails;

}
