feat: add Go backend
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// OutboxEvent is the golang structure of table hg_outbox_event for DAO operations like Where/Data.
|
||||
type OutboxEvent struct {
|
||||
g.Meta `orm:"table:hg_outbox_event, do:true"`
|
||||
Id any // 主键
|
||||
TenantId any // 租户ID
|
||||
EventNo any // 事件号
|
||||
AggregateType any // 聚合根类型
|
||||
AggregateId any // 聚合根ID
|
||||
EventType any // 事件类型
|
||||
PayloadJson *gjson.Json // 已脱敏事件数据
|
||||
PublishStatus any // 发送状态
|
||||
RetryCount any // 重试次数
|
||||
NextRetryAt *gtime.Time // 下次重试时间
|
||||
LastError any // 最后错误
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
PublishedAt *gtime.Time // 发送时间
|
||||
}
|
||||
Reference in New Issue
Block a user