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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
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;
/**
 * @author kerwin  波兰语
 */
@Data
@ExcelIgnoreUnannotated
public class PointRespPlVO {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "设备映射表的id")
    Integer deviceTypeColId;

    @ApiModelProperty(value = "站点id")
    Integer stationId;

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

    @ApiModelProperty(value = "设备类型")
    @ExcelProperty(value = "Rodzaj urządzenia",index = 3)
    String deviceType;

    @ApiModelProperty(value = "1遥信 2遥测 3遥控")
    private Integer sensType;

    @ApiModelProperty(value = "设备名")
    @ExcelProperty(value = "Nazwa urządzenia",index = 2)
    String deviceName;

    @ApiModelProperty(value = "点表字段")
    @ExcelProperty(value = "Pole tabeli punktów",index = 1)
    String col;

    @ApiModelProperty(value = "点表字段名称")
    @ExcelProperty(value = "Nazwa pola tabeli punktów",index = 0)
    String colName;

    @ApiModelProperty(value = "当前值")
    @ExcelProperty(value = "Bieżąca wartość",index = 7)
    BigDecimal value;

    @ApiModelProperty(value = "单位")
    @ExcelProperty(value = "Jednostki",index = 8)
    String unit;

    @ApiModelProperty(value = "最大值")
    @ExcelProperty(value = "Maksymalna wartość",index = 4)
    BigDecimal maxValue;

    @ApiModelProperty(value = "最小值")
    @ExcelProperty(value = "Wartość minimalna",index = 5)
    BigDecimal minValue;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = CommonConstant.DATE)
    @ExcelProperty(value = "Czas aktualizacji",index = 6)
    String updateTime;

    @ApiModelProperty(value = "是否具有品质位 1是 2否")
    private Integer qualityLevel;

}
