package com.njcn.influx.pojo.bo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.njcn.common.utils.serializer.InstantDateSerializer;
import lombok.Data;

import java.io.Serializable;
import java.time.Instant;

/**
 * 用来收集统计结果，比如max min mean cp95等函数
 * @author hongawen
 * @version 1.0.0
 */
@Data
public class StatisticsResult implements Serializable {

    @JsonSerialize(using = InstantDateSerializer.class)
    private Instant time;

    /***
     * 统计值
     */
    private Double value;



}
