Checks / verify (push) Failing after 9m52s
统一单入口 Go 工程与前端依赖目录,增加后台供应商配置、候选审核、计划预算、成交冲正、持仓复盘和站内通知。接入策略版本、Python 回测、可配置 A 股公开行情及 zap 文件轮转日志,补充迁移、契约与验证。
20 lines
719 B
Go
20 lines
719 B
Go
package model
|
|
|
|
import (
|
|
"encoding/json"
|
|
"time"
|
|
)
|
|
|
|
type OutboxEvent struct {
|
|
ID string `db:"id" json:"id"`
|
|
AggregateType string `db:"aggregate_type" json:"aggregate_type"`
|
|
AggregateID string `db:"aggregate_id" json:"aggregate_id"`
|
|
AggregateVersion int64 `db:"aggregate_version" json:"aggregate_version"`
|
|
EventType string `db:"event_type" json:"event_type"`
|
|
Payload json.RawMessage `db:"payload" json:"payload"`
|
|
CreatedAt time.Time `db:"created_at" json:"created_at"`
|
|
ProcessedAt *time.Time `db:"processed_at" json:"processed_at"`
|
|
}
|
|
|
|
func (OutboxEvent) TableName() string { return "veyra_outbox_event" }
|