package com.hdkj.lt.si.modle.algorithm;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 告警信息
 */
@Data
public class Alarm {

    private Flags flags;
    private Integer overLimitCount;
    private List<String> overLimitFeederIds;
    private Map<String, List<String>> overLimitDetails;

    @Data
    public static class Flags {
        private Integer loadRateOverLimit;
        private Integer voltageOverUpperLimit;
        private Integer voltageUnderLowerLimit;
    }
}
