// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================

package entity

import (
	"github.com/gogf/gf/v2/os/gtime"
	"github.com/shopspring/decimal"
)

// V1AccountInfo is the golang structure for table v1account_info.
type V1AccountInfo struct {
	Id           uint            `json:"id"           orm:"id"            description:"主键，自增"`
	Status       string          `json:"status"       orm:"status"        description:"状态"`
	AccountUid   string          `json:"accountUid"   orm:"account_uid"   description:"账户uid，对应为merchant_uid或者agent_uid"`
	AccountName  string          `json:"accountName"  orm:"account_name"  description:"账户名称，对应的是merchant_name或者agent_name"`
	Balance      decimal.Decimal `json:"balance"      orm:"balance"       description:"账户余额"`
	SettleAmount decimal.Decimal `json:"settleAmount" orm:"settle_amount" description:"已经结算了的金额"`
	LoanAmount   decimal.Decimal `json:"loanAmount"   orm:"loan_amount"   description:"押款金额"`
	WaitAmount   decimal.Decimal `json:"waitAmount"   orm:"wait_amount"   description:"待结算资金"`
	FreezeAmount decimal.Decimal `json:"freezeAmount" orm:"freeze_amount" description:"账户冻结金额"`
	PayforAmount decimal.Decimal `json:"payforAmount" orm:"payfor_amount" description:"账户代付中金额"`
	UpdateTime   *gtime.Time     `json:"updateTime"   orm:"update_time"   description:"更新时间"`
	CreateTime   *gtime.Time     `json:"createTime"   orm:"create_time"   description:"创建时间"`
}
