28 lines
1.4 KiB
Go
28 lines
1.4 KiB
Go
// =================================================================================
|
||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||
// =================================================================================
|
||
|
||
package do
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/frame/g"
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
"github.com/shopspring/decimal"
|
||
)
|
||
|
||
// BilWallets is the golang structure of table bil_wallets for DAO operations like Where/Data.
|
||
type BilWallets struct {
|
||
g.Meta `orm:"table:bil_wallets, do:true"`
|
||
Id any // 主键ID
|
||
TenantId any // 租户ID(每个租户一个钱包)
|
||
Balance any // 总余额
|
||
FrozenBalance any // 冻结余额(支付中/退款中,可用余额 = balance - frozen_balance)
|
||
WarningThreshold *decimal.Decimal // 余额预警线(低于此值触发通知)
|
||
Currency any // 货币(USD)
|
||
CreatedAt *gtime.Time // 创建时间
|
||
UpdatedAt *gtime.Time // 更新时间
|
||
CumulativeRecharge any // 累计充值总额(USD)
|
||
LowBalanceNotified any // 低余额预警是否已推送(充值恢复后重置为 false)
|
||
TotalConsumed any // 累计消费总额(本位币;Redis 钱包 hash total_consumed 的物化副本,随结算事件递增/补偿递减)
|
||
}
|