package com.njcn.harmonic.pojo.vo.hebeinorth;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 类的介绍：冀北全景一张图-综合评估主界面返回实体
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2024/4/22 14:38
 */
@Data
public class AssessVo implements Serializable {

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("地市code")
    private String code;

    @ApiModelProperty("评估分数")
    private Float score = 3.14159f;

    @ApiModelProperty("评估等级")
    private String level;

    @ApiModelProperty("时间")
    private String dataTime;

    @Data
    public static class AssessOverview {

        @ApiModelProperty("评估分数")
        private Float score = 3.14159f;

        @ApiModelProperty("评估等级")
        private String level;

        @ApiModelProperty("市数据")
        List<AssessVo> children;
    }


    @Data
    public static class AssessTrendVo {

        @ApiModelProperty("部门Id")
        private String deptId;

        @ApiModelProperty("部门名称")
        private String deptName;

        @ApiModelProperty("子集")
        private List<AssessVo> children;
    }

}
