models defined
This commit is contained in:
parent
88c36de6ec
commit
b1b3c7ed79
@ -4,14 +4,12 @@ import "bygdata/global"
|
||||
|
||||
type UserBonusStats struct {
|
||||
global.GVA_MODEL
|
||||
Xid *string `json:"xid" form:"xid" gorm:"column:xid;size:100;" binding:"required"`
|
||||
UserNo *string `json:"userNo" form:"userNo" gorm:"column:user_no;size:50;" binding:"required"`
|
||||
Ymd *string `json:"ymd" form:"ymd" gorm:"column:ymd;size:10;"`
|
||||
GameType *int `json:"gameType" form:"gameType" gorm:"column:game_type;type:int;"`
|
||||
GameId *string `json:"gameId" form:"gameId" gorm:"column:game_id;size:20;"`
|
||||
BetCoin *int `json:"betCoin" form:"betCoin" gorm:"column:game_type;type:int;"`
|
||||
BetCount *int `json:"betCount" form:"betCount" gorm:"column:bet_count;type:int;"`
|
||||
Ut *int64 `json:"ut" form:"ut" gorm:"column:ut;type:bigint;"`
|
||||
Xid *string `json:"xid" form:"xid" gorm:"column:xid;size:100;" binding:"required"`
|
||||
UserNo *string `json:"userNo" form:"userNo" gorm:"column:user_no;size:50;" binding:"required"`
|
||||
Ymd *string `json:"ymd" form:"ymd" gorm:"column:ymd;size:10;"`
|
||||
Coin *int `json:"coin" form:"coin" gorm:"column:coin;type:int;"`
|
||||
Count *int `json:"count" form:"count" gorm:"column:count;type:int;"`
|
||||
Ut *int64 `json:"ut" form:"ut" gorm:"column:ut;type:bigint;"`
|
||||
}
|
||||
|
||||
func (UserBonusStats) TableName() string {
|
||||
|
||||
@ -9,7 +9,7 @@ type UserGameStats struct {
|
||||
Ymd *string `json:"ymd" form:"ymd" gorm:"column:ymd;size:10;"`
|
||||
GameType *int `json:"gameType" form:"gameType" gorm:"column:game_type;type:int;"`
|
||||
GameId *string `json:"gameId" form:"gameId" gorm:"column:game_id;size:20;"`
|
||||
BetCoin *int `json:"betCoin" form:"betCoin" gorm:"column:game_type;type:int;"`
|
||||
BetCoin *int `json:"betCoin" form:"betCoin" gorm:"column:bet_coin;type:int;"`
|
||||
BetCount *int `json:"betCount" form:"betCount" gorm:"column:bet_count;type:int;"`
|
||||
Ut *int64 `json:"ut" form:"ut" gorm:"column:ut;type:bigint;"`
|
||||
}
|
||||
|
||||
@ -4,14 +4,13 @@ import "bygdata/global"
|
||||
|
||||
type UserPaymentStats struct {
|
||||
global.GVA_MODEL
|
||||
Xid *string `json:"xid" form:"xid" gorm:"column:xid;size:100;" binding:"required"`
|
||||
UserNo *string `json:"userNo" form:"userNo" gorm:"column:user_no;size:50;" binding:"required"`
|
||||
Ymd *string `json:"ymd" form:"ymd" gorm:"column:ymd;size:10;"`
|
||||
GameType *int `json:"gameType" form:"gameType" gorm:"column:game_type;type:int;"`
|
||||
GameId *string `json:"gameId" form:"gameId" gorm:"column:game_id;size:20;"`
|
||||
BetCoin *int `json:"betCoin" form:"betCoin" gorm:"column:game_type;type:int;"`
|
||||
BetCount *int `json:"betCount" form:"betCount" gorm:"column:bet_count;type:int;"`
|
||||
Ut *int64 `json:"ut" form:"ut" gorm:"column:ut;type:bigint;"`
|
||||
Xid *string `json:"xid" form:"xid" gorm:"column:xid;size:100;" binding:"required"`
|
||||
UserNo *string `json:"userNo" form:"userNo" gorm:"column:user_no;size:50;" binding:"required"`
|
||||
Ymd *string `json:"ymd" form:"ymd" gorm:"column:ymd;size:10;"`
|
||||
Money *int `json:"money" form:"money" gorm:"column:money;type:int;"`
|
||||
Coin *int `json:"coin" form:"coin" gorm:"column:coin;type:int;"`
|
||||
Count *int `json:"count" form:"count" gorm:"column:count;type:int;"`
|
||||
Ut *int64 `json:"ut" form:"ut" gorm:"column:ut;type:bigint;"`
|
||||
}
|
||||
|
||||
func (UserPaymentStats) TableName() string {
|
||||
|
||||
@ -4,14 +4,13 @@ import "bygdata/global"
|
||||
|
||||
type UserWithdrawalStats struct {
|
||||
global.GVA_MODEL
|
||||
Xid *string `json:"xid" form:"xid" gorm:"column:xid;size:100;" binding:"required"`
|
||||
UserNo *string `json:"userNo" form:"userNo" gorm:"column:user_no;size:50;" binding:"required"`
|
||||
Ymd *string `json:"ymd" form:"ymd" gorm:"column:ymd;size:10;"`
|
||||
GameType *int `json:"gameType" form:"gameType" gorm:"column:game_type;type:int;"`
|
||||
GameId *string `json:"gameId" form:"gameId" gorm:"column:game_id;size:20;"`
|
||||
BetCoin *int `json:"betCoin" form:"betCoin" gorm:"column:game_type;type:int;"`
|
||||
BetCount *int `json:"betCount" form:"betCount" gorm:"column:bet_count;type:int;"`
|
||||
Ut *int64 `json:"ut" form:"ut" gorm:"column:ut;type:bigint;"`
|
||||
Xid *string `json:"xid" form:"xid" gorm:"column:xid;size:100;" binding:"required"`
|
||||
UserNo *string `json:"userNo" form:"userNo" gorm:"column:user_no;size:50;" binding:"required"`
|
||||
Ymd *string `json:"ymd" form:"ymd" gorm:"column:ymd;size:10;"`
|
||||
Money *int `json:"money" form:"money" gorm:"column:money;type:int;"`
|
||||
Coin *int `json:"coin" form:"coin" gorm:"column:coin;type:int;"`
|
||||
Count *int `json:"count" form:"count" gorm:"column:count;type:int;"`
|
||||
Ut *int64 `json:"ut" form:"ut" gorm:"column:ut;type:bigint;"`
|
||||
}
|
||||
|
||||
func (UserWithdrawalStats) TableName() string {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user