feat: add Go backend
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// WalletAccount is the golang structure for table wallet_account.
|
||||
type WalletAccount struct {
|
||||
Id uint64 `json:"id" orm:"id" description:"主键"`
|
||||
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
MemberId uint64 `json:"memberId" orm:"member_id" description:"会员ID"`
|
||||
Currency string `json:"currency" orm:"currency" description:"币种"`
|
||||
AvailableAmount int64 `json:"availableAmount" orm:"available_amount" description:"可用金额(分)"`
|
||||
FrozenAmount int64 `json:"frozenAmount" orm:"frozen_amount" description:"冻结金额(分)"`
|
||||
TotalIncome int64 `json:"totalIncome" orm:"total_income" description:"累计收入(分)"`
|
||||
TotalExpense int64 `json:"totalExpense" orm:"total_expense" description:"累计支出(分)"`
|
||||
AccountStatus int `json:"accountStatus" orm:"account_status" description:"账户状态"`
|
||||
Version uint `json:"version" orm:"version" description:"乐观锁"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user