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

import lombok.Data;

import java.util.List;

/**
 * 算法服务指标计算响应
 *
 * @Description 观音阁算法服务 /api/indicators 返回结构
 */
@Data
public class IndicatorStatusResponse {

    private String status;

    private String responseType;

    private String computeResult;

    private String generatedAt;

    private CountyBasicInfo countyBasicInfo;

    private CalculationResult calculationResult;

    @Data
    public static class CountyBasicInfo {
        private Integer countyId;
        private String countySid;
        private String countyName;
        private List<String> feederIds;
        private Boolean usedDefaultGroup;
        private String groupSource;
        private String countySource;
    }

    @Data
    public static class CalculationResult {
        private CountyResult countyResult;
        private List<FeederResult> feederResults;
        private ReconfigurationFeeders reconfigurationFeeders;
    }
}
