package com.muyu.domain.req;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @className: FaultLog  ️✈️
 * @author: Yang 鹏  🦅
 * @date: 2024/9/23 21:06 ⏰
 * @Version: 1.0
 * @description: 故障检测策略的接口
 */
/**
 * 故障检测策略的接口
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName(value = "fault_condition", autoResultMap = true)
@Tag(name = "故障规则修改请求对象")
public class FaultConditionUpdReq {

    /**
     * 故障规则表Id
     */
    @TableId(value = "carcondition_id", type = IdType.ASSIGN_ID)
    @Schema(name = "故障规则表Id")
    private Long carconditionId;
    /**
     * 车辆类型Id
     */
    @Schema(name = "车辆类型Id")
    private Long carTypeId;
    /**
     *故障名称Id
     */
    @Schema(name = "故障名称Id")
    private Long messageTypeId;
    /**
     * 故障条件
     */
    @Schema(name = "故障条件")
    private String faultconditionIdentification;
    /**
     * 故障规则参数
     */
    @Schema(name = "故障规则参数")
    private BigDecimal faultconditionParameter;
}
