package com.njcn.influx.pojo.po;


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

import java.time.Instant;

/**
 * @author hongawen
 */
@Data
@Measurement(name = "cld_statis_flow")
public class CldStatisFlow {

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

    @Column(name="actual_value")
    private Integer actualValue;

    @Column(name="dev_id")
    private String devId;

}
