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/splitAccountBroker.go

15 lines
471 B

package model
import "github.com/shopspring/decimal"
type SplitAccountBroker struct {
Id uint `gorm:"primaryKey"`
AccountId uint // 分账id
Account SplitAccount `gorm:"foreignKey:AccountId"`
BrokerId uint // 出资人id
Broker Broker `gorm:"foreignKey:BrokerId"`
Amount decimal.Decimal // 出资额
BillAmount decimal.Decimal // 其他费用总额
Profit decimal.Decimal // 所得利润
}