package fields // OrderItemsSnapshot 定义 order_items.snapshot 的固定结构。 // // 该快照用于“历史展示与审计”:即使内容标题/作者等信息后续变更,也不影响已下单记录的展示一致性。 type OrderItemsSnapshot struct { // ContentID 内容 ID。 ContentID int64 `json:"content_id"` // ContentTitle 内容标题快照。 ContentTitle string `json:"content_title"` // ContentUserID 内容作者用户 ID。 ContentUserID int64 `json:"content_user_id"` // AmountPaid 该行实付金额(分)。 AmountPaid int64 `json:"amount_paid"` }