package com.ho.business.entity;

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

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @TableName device_type_col
 */
@Data
public class DeviceTypeCol implements Serializable {
    /**
     *
     */
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * device_type的Id
     */
    @ApiModelProperty(value = "device_type的Id")
    private Integer deviceTypeId;

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

    /**
     *
     */
    @ApiModelProperty(value = "设备名称")
    private String deviceTypeName;

    /**
     * 字段key
     */
    @ApiModelProperty(value = "字段key")
    private String col;

    /**
     * 字段中文名
     */
    @ApiModelProperty(value = "字段中文名")
    private String colName;

    /**
     * 字段英文名
     */
    @ApiModelProperty(value = "字段(英语)")
    private String colEn;
    @ApiModelProperty(value = "字段（法语）")
    private String colFra;
    @ApiModelProperty(value = "字段（西班牙语）")
    private String colSpa;
    @ApiModelProperty(value = "字段（德语）")
    private String colDe;
    @ApiModelProperty(value = "字段（波兰语）")
    private String colPl;
    @ApiModelProperty(value = "字段（阿拉伯语）")
    private String colAra;

    /**
     * INT BIGDECIMAL 等
     */
    private String dataType;

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

    @ApiModelProperty(value = " 1展示  0 不展示")
    private Integer isShow;

    @ApiModelProperty(value = "是否采集")
    private Integer isSave;

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

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

    @ApiModelProperty(value = "额定值")
    private BigDecimal specifiedValue;

    @ApiModelProperty(value = "偏移量")
    private BigDecimal offsetValue;

    @ApiModelProperty(value = "系数")
    private BigDecimal factor;

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

    @ApiModelProperty(value = "是否可以更改: 1:可以更改，2:不可以更改")
    private boolean change;

    /**
     * 告警等级
     */
    @ApiModelProperty(value = "告警等级")
    Integer alarmLevel;

    @ApiModelProperty(value = "过滤类型（1:按照最大最小值过滤）")
    private Integer  filterType;
}