package com.njcn.prepare.harmonic.pojo.influxdb.po;

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

import java.time.Instant;

/**
 * <p>
 *
 * </p>
 *
 * @author cdf
 * @since 2022-01-07
 */
@Data
@Measurement(name = "pqs_communicate")
public class Communicate {

    private static final long serialVersionUID = 1L;

    /**
     * 终端Id
     */
    /**
     * 更新时间
     */
    @Column(name = "time")
    private Instant updateTime;

//    @Column(name = "time")
//    private String updateTime;

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


    /**
     * 事件类型(0：中断；1：正常；2：退出)
     */
    @Column(name = "type")
    private Integer type;

    /**
     * 备注
     */
    @Column(name = "description")
    private String remark;

    private Integer duration;

    private String desc;


}
