package cn.axzo.workflow.core.repository.entity;

import cn.axzo.framework.data.mybatisplus.model.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * MQ 发送记录表
 *
 * @author wangli
 * @since 2024/5/15 10:56
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ext_ax_mq_log", autoResultMap = true)
@Data
@ToString(callSuper = true)
public class ExtAxMqLog extends BaseEntity<ExtAxMqLog> {
    /**
     * 唯一ID
     */
    private String uniqueId;

    /**
     * MQ 的 MessageID
     */
    private String messageId;

    /**
     * MQ 的 Tag
     */
    private String mqTag;

    /**
     * MQ 的 Key
     */
    private String mqKey;

    /**
     * MQ 的 MessageBody
     */
    private String messageBody;

    /**
     * 链路追踪ID
     */
    private String traceId;

    /**
     * 线程名称
     */
    private String insertThreadName;
    private String updateThreadName;
    private String deleteThreadName;
}

