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

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

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author fancl
 * @desc:
 * @date 2023/3/9
 */
@Data
public class PointOneReq {

    @ApiModelProperty(value = "电站id")
    @NotNull(message = "电站id不能为空")
    private Integer stationId;

    @ApiModelProperty(value = "设备类型")
    private String deviceType;

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

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

    @ApiModelProperty(value = "col")
    private String col;

    @ApiModelProperty(value = "colName")
    private String colName;

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

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

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

    @ApiModelProperty(value = "更新时间")
    String updateTime;

    @ApiModelProperty(value = "修改值")
    BigDecimal modifyValue;

    @ApiModelProperty(value = "实时值")
    BigDecimal value;

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