package com.ycl.vo.cockpit.enforcementEvents;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.models.auth.In;
|
import io.swagger.v3.oas.models.security.SecurityScheme;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.util.List;
|
|
/**
|
* @author Lyq
|
* @version 1.0
|
* @date 2022/10/26
|
*/
|
@ApiModel(description = "驾驶舱数据-执法事件VO层")
|
public class EnforcementEventsVO {
|
@ApiModel(description = "执法事件统计")
|
@Data
|
public static class StatisticsEventVO {
|
@ApiModelProperty(value = "数量")
|
private Integer count;
|
|
@ApiModelProperty(value = "比例")
|
private BigDecimal ratio;
|
|
@ApiModelProperty(value = "上升下降")
|
private Boolean up;
|
}
|
|
@Data
|
@ApiModel(description = "事件类型/事件来源")
|
public static class TypeAndSourceVO {
|
@ApiModelProperty(value = "事件的总数")
|
private Long all;
|
@ApiModelProperty(value = "事件类型的数量、各占比")
|
private List<VideoAndAreaVO> records;
|
}
|
|
@Data
|
@ApiModel(description = "事件信息")
|
public static class InfoVO {
|
@ApiModelProperty(value = "今日事件总数")
|
private Integer today;
|
@ApiModelProperty(value = "本周事件总数")
|
private Integer week;
|
@ApiModelProperty(value = "执法出动总数")
|
private Integer dispatch;
|
@ApiModelProperty(value = "AI识别的事件总数")
|
private Integer identification;
|
@ApiModelProperty(value = "具体事件的数据信息")
|
private List<EventVO> event;
|
}
|
}
|