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

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

import java.util.Date;

/**
 * <p>
 * 告警运维工单表
 * </p>
 *
 * @author caiwq
 * @since 2024-04-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_work_order_alarm_operation")
@ApiModel(value="SaasWorkOrderAlarmOperation对象", description="告警运维工单表")
public class SaasWorkOrderAlarmOperation extends BaseEntity {

    /**
     * 工单主表ID
     */
    @ApiModelProperty(name = "workOrderId", value = "工单主表ID")
    private Long workOrderId;
    /**
     * 告警ID
     */
    @ApiModelProperty(name = "alarmId", value = "告警ID")
    private Long alarmId;
    /**
     * 告警名称
     */
    @ApiModelProperty(name = "alarmName", value = "告警名称")
    private String alarmName;
    /**
     * 告警分类
     */
    @ApiModelProperty(name = "alarmCategory", value = "告警分类")
    private Integer alarmCategory;
    /**
     * 告警内容
     */
    @ApiModelProperty(name = "alarmContent", value = "告警内容")
    private String alarmContent;
    /**
     * 告警等级
     */
    @ApiModelProperty(name = "alarmLevel", value = "告警等级")
    private Integer alarmLevel;
    /**
     * 告警时间
     */
    @ApiModelProperty(name = "alarmTime", value = "告警时间")
    private Date alarmTime;
    /**
     * 告警设备
     */
    @ApiModelProperty(name = "alarmDevice", value = "告警设备")
    private String alarmDevice;
    /**
     * 设备类型ID
     */
    @ApiModelProperty(name = "deviceTypeId", value = "设备类型ID")
    private Long deviceTypeId;
    /**
     * 设备地址
     */
    @ApiModelProperty(name = "deviceAddr", value = "设备地址")
    private String deviceAddr;
    /**
     * 故障类型
     */
    @ApiModelProperty(name = "faultType", value = "故障类型")
    private Integer faultType;
    /**
     * 故障等级
     */
    @ApiModelProperty(name = "faultLevel", value = "故障等级")
    private Integer faultLevel;
    /**
     * 绑定空间
     */
    @ApiModelProperty(name = "bindSpace", value = "绑定空间")
    private String bindSpace;
    /**
     * 图片/视频
     */
    @ApiModelProperty(name = "alarmImage", value = "图片/视频")
    private String alarmImage;

}
