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.
GO/app/model/brokerWalletAssessHistory.txt

28 lines
802 B

8 months ago
package model
import (
"time"
)
const (
BrokerWalletAssessHistoryRecharge = 1 // 充值
BrokerWalletAssessHistoryUse = 2 // 余量使用
BrokerWalletAssessHistoryRefund = 3 // 余量返还
WalletAssessHistoryKindEstimate = 1 // 评估
WalletAssessHistoryKindContractConsignment = 2 // 寄售合同
WalletAssessHistoryKindContractPurchase = 3 // 收购合同
WalletAssessHistoryKindContractSale = 4 // 出售合同
)
type BrokerWalletAssessHistory struct {
Id uint `gorm:"primaryKey"`
BrokerId uint // 经纪人
Type uint // 类型 1=充值 2=使用 3=返还
Kind uint // 余量种类1=评估2=寄售合同 3=收购合同 4=出售合同
OrderId uint // 操作id
Count int // 操作次数
CreatedAt time.Time
UpdatedAt time.Time
}