package com.ho.business.vo.resp.data;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ho.common.tools.constant.CommonConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ApiPointRespVO {

    @ApiModelProperty(value = "设备id")
    Integer srcId;

    @ApiModelProperty(value = "设备名")
    String deviceName;

    @ApiModelProperty(value = "点表字段")
    String col;

    @ApiModelProperty(value = "点表字段名称")
    String colName;

    @ApiModelProperty(value = "当前值")
    BigDecimal value;

    @ApiModelProperty(value = "单位")
    String unit;

    @ApiModelProperty(value = "最大值")
    BigDecimal maxValue;

    @ApiModelProperty(value = "最小值")
    BigDecimal minValue;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = CommonConstant.DATE)
    String updateTime;
}
