package com.zhgd.xmgl.modules.basicdata.dto;

import com.zhgd.xmgl.modules.basicdata.entity.AiMonitorAlarm;
import com.zhgd.xmgl.modules.basicdata.entity.AiMonitorDev;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
@ApiModel(value = "AI预警设备信息(DTO)", description = "AiMonitorDevDto")
public class AiMonitorDevDto extends AiMonitorDev {

    // TODO  AI预警报警记录
    @ApiModelProperty(value = "报警记录(最近十条)")
    private List<AiMonitorAlarm> aiMonitorAlarmList;

    @ApiModelProperty(value = "报警类型统计")
    private List<Map<String, Object>> countGroupByType;
}
