package com.xy.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 设备配置表
 * </p>
 *
 * @author lijin
 * @since 2023-06-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DeviceConfig对象", description="设备配置表")
public class DeviceConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty(value = "设备id")
    private Long deviceId;

    @ApiModelProperty(value = "最大温度告警值")
    private Integer tempMax;

    @ApiModelProperty(value = "最小温度告警值")
    private Integer tempMin;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

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

    @ApiModelProperty(value = "缺货率预警值")
    private Integer stockOutRate;

    @ApiModelProperty(value = "缺货种类预警值")
    private Integer stockOutGoodsNum;


}
