package com.njcn.mq.message;

import com.njcn.middle.rocket.domain.BaseMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 类的介绍：日志信息
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2025/9/18 15:06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class CldLogMessage extends BaseMessage {

    @ApiModelProperty("前置id")
    private String nodeId;

    @ApiModelProperty("进程id")
    private String processNo;

    @ApiModelProperty("监测点id、装置id")
    private String businessId;

    @ApiModelProperty("级别(process进程、terminal装置、measurepoint监测点)")
    private String level;

    @ApiModelProperty("日志等级")
    private String grade;

    @ApiModelProperty("告警码")
    private String code;

    @ApiModelProperty("告警时间")
    private String time;

    @ApiModelProperty("日志信息")
    private String log;

}
