2026-08-20 15:20:05 +08:00
|
|
|
package com.baiyue.lastleg.entity;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
@TableName("ll_event_outbox")
|
|
|
|
|
public class LastlegEventOutbox {
|
|
|
|
|
@TableId(type = IdType.INPUT)
|
|
|
|
|
private Long id;
|
|
|
|
|
private String customerId;
|
|
|
|
|
private String aggregateType;
|
|
|
|
|
private String aggregateId;
|
|
|
|
|
private String eventType;
|
|
|
|
|
private Integer eventVersion;
|
|
|
|
|
private String eventKey;
|
|
|
|
|
private String payloadJson;
|
|
|
|
|
private String status;
|
|
|
|
|
private Integer retryCount;
|
|
|
|
|
private LocalDateTime nextRetryAt;
|
|
|
|
|
private LocalDateTime publishedAt;
|
2026-08-20 18:02:38 +08:00
|
|
|
private LocalDateTime lockedAt;
|
|
|
|
|
private String lockedBy;
|
2026-08-20 15:20:05 +08:00
|
|
|
private String lastError;
|
|
|
|
|
private LocalDateTime createdAt;
|
|
|
|
|
}
|