package proto import "videoweb/pub/models/cointransmod" // CoinTransListItemResp 金币余额明细列表项 type CoinTransListItemResp struct { // 流水ID Id int64 `json:"id"` // 标题,优先使用备注,备注为空时使用交易类型名称 Title string `json:"title"` // 收支方向:1-收入,-1-支出 FlowDir cointransmod.FlowDir `json:"flowDir"` // 收支方向名称:收入/支出 FlowDirName string `json:"flowDirName"` // 交易类型 1-金币充值(购买金币)2-购买会员赠送金币 3-历史遗留 4-视频解锁 5-管理员手动调整 TranType cointransmod.TranType `json:"tranType"` // 交易类型名称 TranTypeName string `json:"tranTypeName"` // 本次交易金币数,始终为正数 Amount int64 `json:"amount"` // 带方向的金币变动数,收入为正数,支出为负数 ChangeAmount int64 `json:"changeAmount"` // 交易前余额 BalanceBefore int64 `json:"balanceBefore"` // 交易后余额 BalanceAfter int64 `json:"balanceAfter"` // 关联订单号 OrderNo string `json:"orderNo"` // 关联内容ID RelatedId int64 `json:"relatedId"` // 备注 Remark string `json:"remark"` // 交易时间,格式:2006-01-02 15:04:05 CreatedAt string `json:"createdAt"` }