package com.hotwj.platform.workbench.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 政府端首页统计
 *
 * @author shihongwei
 */
@Data
@Schema(description = "政府端首页统计")
public class GovHomeStatisticsVo {

    @Schema(description = "企业总数")
    private Long enterpriseCount;

    @Schema(description = "运营车辆总数")
    private Long vehicleCount;

    @Schema(description = "驾驶员总数")
    private Long driverCount;

    @Schema(description = "隐患总数")
    private Long hiddenDangerCount;

    @Schema(description = "区划名称")
    private String jurisdictionName;

    @Schema(description = "当天时间")
    private String currentDate;

    @Schema(description = "辖区企业列表")
    private List<EnterpriseInfo> enterpriseList;

    @Data
    @Schema(description = "企业简要信息")
    public static class EnterpriseInfo {
        @Schema(description = "企业ID")
        private Long id;

        @Schema(description = "企业名称")
        private String companyName;
    }
}
