package com.zksy.manhole.dto.out;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 异常终端设备数量趋势分析-出参
 *
 * @author xianggx
 */
@Data
@ApiModel(value = "异常终端设备数量趋势分析-出参", description = "异常终端设备数量趋势分析-出参")
public class AbnormalTerminalTrendOutDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "趋势标签（如 2026-W26 或 2026-06）")
    private String trendLabel;

    @ApiModelProperty(value = "统计日期")
    @JsonFormat(locale = "zh", pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date statDate;

    @ApiModelProperty(value = "异常终端设备数量（平均值）")
    private Integer abnormalTerminal;
}
