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

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.JsonNode;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 电压极值 (复用于 volResult.summary.before / after).
 * 越限列表 overMaxList / underMinList 为数组, 用 JsonNode 承载, 入库时序列化为 JSON 字符串.
 */
@Data
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class VolExtremesDTO {

    private BigDecimal maxVol;

    private Integer overMaxCount;

    private JsonNode overMaxList;

    private BigDecimal minVol;

    private Integer underMinCount;

    private JsonNode underMinList;
}