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.
15 lines
450 B
15 lines
450 B
package user
|
|
|
|
import "github.com/shopspring/decimal"
|
|
|
|
type TeamSalesGradientRatio struct {
|
|
ID uint64 `gorm:"column:id;primary_key" json:"-"`
|
|
Amount decimal.Decimal `gorm:"column:amount" json:"amount"`
|
|
Ratio decimal.Decimal `gorm:"column:ratio" json:"ratio"`
|
|
}
|
|
|
|
// TableName sets the insert table name for this struct type
|
|
func (r *TeamSalesGradientRatio) TableName() string {
|
|
return "recook_user_wallet_team_sales_gradient_ratio"
|
|
}
|