package com.njcn.energy.pojo.po;

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/4/20 19:07
 */
@Data
@Measurement(name = "ele_online_rate")
public class EleOnlineRate {

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

    @Column(name = "device_id")
    private String deviceId;

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