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

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

/**
 * @ClassName PmgBatHandlerWarning
 * @Description
 * @author 吕海泉
 * @Date 2021/4/7 15:27
 * @Version 1.0
 **/
@Data
@TableName("pmg_bat_handler_warning")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "告警事件对象", description = "告警事件处理表")
public class PmgBatHandlerWarning extends TenantEntity {

    /**
     * 处理人
     */
    @ApiModelProperty(value = "处理人")
    private String handlerName;

    /**
     * 产品key
     */
    @ApiModelProperty(value = "产品key")
    private String productKey;

    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称")
    private String productName;

    /**
     * 处理人电话
     */
    @ApiModelProperty(value = "处理人电话")
    private String phone;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    private Long startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    private Long endTime;

    /**
     * 告警时间
     */
    @ApiModelProperty(value = "告警时间")
    private Long eventTime;

    /**
     *  处理模式
     */
    @ApiModelProperty(value = "处理模式")
    private Integer handlerModel;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remarks;

}


