package com.ycl.vo.cockpit.statisticsEvents; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @ApiModel(description = "网格地图") @Data public class GridMapVO { @ApiModelProperty(value = "网格名称") private String name; @ApiModelProperty(value = "网格内各类设备数量") private Integer videoCount; @ApiModelProperty(value = "网格内事件总数") private Integer eventCount; @ApiModelProperty(value = "ai事件数量") private Integer aiCount; @ApiModelProperty(value = "网格上报事件数量") private Integer handCount; @ApiModelProperty(value = "坐标集合") private String region; public Integer getHandCount() { return this.eventCount - this.aiCount; } }