package com.njcn.supervision.pojo.vo.gridDiagram;


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

@Data
public class GridDiagramVO {

    @ApiModelProperty(value = "部门名称")
    private String orgName;

    @ApiModelProperty(value = "异常问题总数")
    private Integer abnormalNum;

    @ApiModelProperty(value = "已关联工单数")
    private Integer associatedNum;

    @ApiModelProperty(value = "工单转换率")
    private Float conversionNum;

    @ApiModelProperty(value = "工单总数")
    private Integer workNum;

    @ApiModelProperty(value = "已处理工单数")
    private Integer processedNum;

    @ApiModelProperty(value = "工单处置率")
    private Float disposalNum;

    @Data
    public static class Info extends GridDiagramVO {

        @ApiModelProperty(value = "在线监测")
        private Integer onLineNum;

        @ApiModelProperty(value = "用户投诉")
        private Integer userNum;

        @ApiModelProperty(value = "技术监督计划")
        private Integer surveyNum;

        @ApiModelProperty(value = "试运行问题")
        private Integer trialRunNum;
    }

    @Data
    public static class City {

        @ApiModelProperty(value = "在线监测")
        private GridDiagramVO onLine;

        @ApiModelProperty(value = "用户投诉")
        private GridDiagramVO user;

        @ApiModelProperty(value = "技术监督计划")
        private GridDiagramVO survey;

        @ApiModelProperty(value = "试运行问题")
        private GridDiagramVO trialRun;
    }
}
