You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
809 B

4 years ago
package gys
import (
"github.com/shopspring/decimal"
"time"
)
const (
GysSourceWalletDepositEarlyWarningStatusDisable = 0
GysSourceWalletDepositEarlyWarningStatusEnable = 1
)
type GysSourceWallet struct {
Id uint `gorm:"primaryKey"`
SourceId uint // 运营方id
DepositAmount decimal.Decimal // 存款金额
DepositFreezeAmount decimal.Decimal // 存款冻结金额
DepositBillAmount decimal.Decimal // 存款已结算金额
DepositTotalAmount decimal.Decimal // 存款累计金额
DepositEarlyWarningStatus uint // 存款预警开关 1=开 0=关
DepositEarlyWarningAmount decimal.Decimal // 存款预警金额
CreatedAt time.Time
UpdatedAt time.Time
}