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/29 15:06
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LogMessage extends BaseMessage {

    @ApiModelProperty("唯一标识")
    private String guid;

    @ApiModelProperty("日志类型 0:设备接入日志")
    private String dataType;

    @ApiModelProperty("操作人员")
    private String userIndex;

    @ApiModelProperty("用户登录名")
    private String loginName;

    @ApiModelProperty("当前操作")
    private String operate;

    @ApiModelProperty("结果")
    private Integer result;

    @ApiModelProperty("失败原因")
    private String failReason;
}
