feat: complete charge
This commit is contained in:
@@ -8,15 +8,17 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"backend/pkg/pg"
|
||||
"time"
|
||||
)
|
||||
|
||||
type UserBalanceHistories struct {
|
||||
ID int64 `sql:"primary_key" json:"id"`
|
||||
UserID int64 `json:"user_id"`
|
||||
TenantID int64 `json:"tenant_id"`
|
||||
Balance int64 `json:"balance"`
|
||||
Target *string `json:"target"`
|
||||
Type string `json:"type"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
ID int64 `sql:"primary_key" json:"id"`
|
||||
UserID int64 `json:"user_id"`
|
||||
TenantID int64 `json:"tenant_id"`
|
||||
Balance int64 `json:"balance"`
|
||||
Target pg.BalanceTarget `json:"target"`
|
||||
Type pg.BalanceType `json:"type"`
|
||||
Code string `json:"code"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user