package com.njcn.product.cnzutai.zutai.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.Instant;

/**
 * @author xy
 */
@Data
public class RealTimeDataVo implements Serializable {

    @ApiModelProperty("数据时间")
//    @JsonSerialize(using = InstantDateSerializer.class)
    private Instant time;

    @ApiModelProperty("指标id")
    private String id;

    @ApiModelProperty("指标名称")
    private String name;

    @ApiModelProperty("指标别名")
    private String otherName;

    @ApiModelProperty("相别")
    private String phase;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("平均值")
    private Double avgValue;

    @ApiModelProperty("A相值")
    private Double valueA;

    @ApiModelProperty("B相值")
    private Double valueB;

    @ApiModelProperty("C相值")
    private Double valueC;

    @ApiModelProperty("无相值")
    private Double valueM;
}
