package com.test.common.core.domain.model;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author liangdaliang
 * @Description：Jmeter汇总报告实体对象
 * @date 2025-04-16 14:24
 */
public class LabelStatsEntity {
    private String label;
    private Long samples = 0L;
    private Long average = 0L;
    private Long min = 0L;
    private Long max = 0L;
    @JsonFormat(shape = JsonFormat.Shape.NUMBER, pattern = "0.00")
    private Double errorRate = 0d;
    @JsonFormat(shape = JsonFormat.Shape.NUMBER, pattern = "0.0")
    private Double throughput = 0d;
    @JsonFormat(shape = JsonFormat.Shape.NUMBER, pattern = "0.00")
    private Double receivedKBPerSec = 0d;
    @JsonFormat(shape = JsonFormat.Shape.NUMBER, pattern = "0.00")
    private Double sentKBPerSec = 0d;

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Long getSamples() {
        return samples;
    }

    public void setSamples(Long samples) {
        this.samples = samples;
    }

    public Long getAverage() {
        return average;
    }

    public void setAverage(Long average) {
        this.average = average;
    }

    public Long getMin() {
        return min;
    }

    public void setMin(Long min) {
        this.min = min;
    }

    public Long getMax() {
        return max;
    }

    public void setMax(Long max) {
        this.max = max;
    }

    public Double getErrorRate() {
        return errorRate;
    }

    public void setErrorRate(Double errorRate) {
        this.errorRate = errorRate;
    }

    public Double getThroughput() {
        return throughput;
    }

    public void setThroughput(Double throughput) {
        this.throughput = throughput;
    }

    public Double getReceivedKBPerSec() {
        return receivedKBPerSec;
    }

    public void setReceivedKBPerSec(Double receivedKBPerSec) {
        this.receivedKBPerSec = receivedKBPerSec;
    }

    public Double getSentKBPerSec() {
        return sentKBPerSec;
    }

    public void setSentKBPerSec(Double sentKBPerSec) {
        this.sentKBPerSec = sentKBPerSec;
    }
}
