package com.njcn.executor.pojo.vo;

import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

import java.time.Instant;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2022/7/12 9:55
 */
@Data
@Measurement(name = "pqs_onlinerate")
public class PqsOnlineRate {

    @Column(name = "time")
    private Instant time;

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

    @Column(name = "online_min")
    private Integer onlineMin;

    @Column(name = "offline_min")
    private Integer offlineMin;

    @Column(name = "online_rate")
    private Double onlineRate;

}
