package com.tongran.mtragent.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tongran.common.core.annotation.Excel;
import com.tongran.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 客户端告警信息对象 rm_alarm_log
 * 
 * @author tongran
 * @date 2025-11-10
 */
@Data
public class RmAlarmLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 客户端ID */
    @Excel(name = "客户端ID")
    private String clientId;

    /** 告警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "告警时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date alarmTime;

    /** 管理网-公网IP */
    @Excel(name = "管理网-公网IP")
    private String mgmPublicIp;

    /** 告警类型 */
    @Excel(name = "告警类型")
    private String alarmType;

    /** 告警内容 */
    @Excel(name = "告警内容")
    private String alarmContent;
}
