package com.hdkj.lt.modle.dto.recon;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 馈线电气量 (复用于 switchSeq.feederIn / feederOut / feederResult.listFeeder).
 * 字段已天然 before/after 扁平.
 */
@Data
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class FeederFlowDTO {

    @JsonProperty("psrID")
    private String psrId;

    @JsonProperty("psrType")
    private String psrType;

    private String name;

    @JsonProperty("rateCurrent")
    private BigDecimal rateCurrent;

    @JsonProperty("beforeI")
    private BigDecimal beforeI;

    @JsonProperty("afterI")
    private BigDecimal afterI;

    @JsonProperty("beforeDayI")
    private BigDecimal beforeDayI;

    @JsonProperty("afterDayI")
    private BigDecimal afterDayI;

    @JsonProperty("lineLossBefore")
    private BigDecimal lineLossBefore;

    @JsonProperty("lineLossAfter")
    private BigDecimal lineLossAfter;
}