package com.evobms.project.vehicledata.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "SocBinDTO", description = "SOC分布分桶信息")
public class SocBinDTO {
    @ApiModelProperty(value = "标签，例如 20-40", example = "20-40")
    private String label;
    @ApiModelProperty(value = "桶下界（含）", example = "20")
    private int min;
    @ApiModelProperty(value = "桶上界（默认不含，最后一桶含）", example = "40")
    private int max;
    @ApiModelProperty(value = "该桶内设备数量", example = "96")
    private long count;
    @ApiModelProperty(value = "占比（四位小数）", example = "0.1159")
    private double ratio;
}
