package com.njcn.influx.pojo.po.cs;

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 xuyang
 * @version 1.0.0
 * @createTime 2023/6/5 16:09
 */
@Data
@Measurement(name = "data_harmpower_p")
public class CsDataHarmPowerP {

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

    @Column(name = "line_id")
    private String lineId;

    @Column(name = "phasic_type")
    private String phaseType;

    @Column(name = "value_type")
    private String valueType;

    @Column(name = "W")
    private Double w;

}
