package org.dromara.main.domain.vo;

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

@Data
public class MainExamResultVo {
    private Boolean allFinished; // 是否全部考完
    private String finalResult;  // 1通过 2未通过
    private BigDecimal totalScore;
    private List<AbilityResult> abilityResults;
    private RadarChartData radarChart;

    @Data
    public static class AbilityResult {
        private String name;
        private BigDecimal score;
        private BigDecimal passScore;
        private Boolean isPass;
        private String inquireLink;

    }

    @Data
    public static class RadarChartData {
        private List<String> categories;
        private List<BigDecimal> series;
    }
}
