package com.yuchen.saas.park.api.entity.fault;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nest.springwrap.core.mp.base.BaseEntity;

/**
 * @Author: 肖润飞
 * @CreateTime: 2022/10/18 14:25
 * @Description: 设备故障规范表
 * @Version: 1.0
 */
@Data
@TableName("equipment_breakdown_rule")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "设备故障规范表", description = "设备故障规范表")
public class EquipmentBreakdownRule extends BaseEntity {


    /**
     * 异常故障分类code
     */
    private String breakdownCode;

    /**
     * 故障规则名称
     */
    //private String breakdownName;

    private String ruleName;
    /**
     * 设备编号
     */
    private String productKey;

    /**
     * IOT传递过来的值的属性名称
     */
    private String identify;

    /**
     * 判断值
     */
    private Float value;

    /**
     * 判断方向: 小于:lt  大于:gt  等于:eq
     */
    private String standard;

    /**
     * 描述
     */
    private String des;

}