package com.bonus.canteen.core.kitchen.domain;

import java.math.BigDecimal;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 厨房设备衡量指标设置对象 kitchen_device_sensor_metric
 * 
 * @author xsheng
 * @date 2025-06-16
 */


@Data
@ToString
public class KitchenDeviceSensorMetric extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long measureId;

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

    /** 参数编码 */
    @Excel(name = "参数编码")
    @ApiModelProperty(value = "参数编码")
    private String measureCode;

    /** 参数名称 */
    @Excel(name = "参数名称")
    @ApiModelProperty(value = "参数名称")
    private String measureName;

    /** 监测指标参数类型（遥测1:数值,遥信2:开关异常,等等） */
    @Excel(name = "监测指标参数类型", readConverterExp = "遥=测1:数值,遥信2:开关异常,等等")
    private String measureType;

    /** 监测指标计量单位(温度°C、湿度%等) */
    @Excel(name = "监测指标计量单位(温度°C、湿度%等)")
    @ApiModelProperty(value = "监测指标计量单位(温度°C、湿度%等)")
    private String measureUnit;

    /** 正常区间最小值，比它小的报警 */
    @Excel(name = "正常区间最小值，比它小的报警")
    @ApiModelProperty(value = "正常区间最小值，比它小的报警")
    private BigDecimal measureMinValue;

    /** 正常区间最大值，比它大的报警 */
    @Excel(name = "正常区间最大值，比它大的报警")
    @ApiModelProperty(value = "正常区间最大值，比它大的报警")
    private BigDecimal measureMaxValue;


}
