package com.evobms.project.vehicledata.dto;

import java.util.List;
import java.util.Map;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "DashboardSocDistributionDTO", description = "设备SOC分布统计结果")
public class DashboardSocDistributionDTO {
    @ApiModelProperty(value = "参与分桶的设备总数（不含unknown）", example = "865")
    private long totalDevices;
    @ApiModelProperty(value = "未取到有效SOC的设备数", example = "7")
    private long unknownCount;
    @ApiModelProperty(value = "分桶明细，按从低到高顺序返回")
    private List<SocBinDTO> bins;
    @ApiModelProperty(value = "生成时间（ISO8601）", example = "2026-03-18T10:22:00Z")
    private String generatedAt;
    @ApiModelProperty(value = "参数回显（bins/includeOffline/includeUnknown 等）")
    private Map<String, Object> paramsEcho;
}
