|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
|
|
|
|
package model
|
|
|
|
|
|
const TableNameFissionCoinScene = "fission_coin_scene"
|
|
|
|
|
|
// FissionCoinScene mapped from table <fission_coin_scene>
|
|
|
type FissionCoinScene struct {
|
|
|
ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"`
|
|
|
CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"`
|
|
|
UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"`
|
|
|
CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;index:idx_reward_time_campaign_id,priority:2;comment:活动id(fission_campaign表)" json:"campaign_id"`
|
|
|
OpenTime int64 `gorm:"column:open_time;type:bigint;not null;index:idx_campaign_id_open_time,priority:2;comment:开奖时间" json:"open_time"`
|
|
|
InitCoin int32 `gorm:"column:init_coin;type:int;not null;comment:结算完毕后时奖池初始金额" json:"init_coin"`
|
|
|
InitUse int32 `gorm:"column:init_use;type:int;not null;comment:结算完毕后初始投放次数" json:"init_use"`
|
|
|
UserCoin int64 `gorm:"column:user_coin;type:bigint;not null;comment:用户投入的金币总数" json:"user_coin"`
|
|
|
RewardTime int64 `gorm:"column:reward_time;type:bigint;not null;index:idx_reward_time_campaign_id,priority:1;comment:领奖结束时间" json:"reward_time"`
|
|
|
JoinNum int64 `gorm:"column:join_num;type:bigint;not null;comment:投放总数" json:"join_num"`
|
|
|
JoinUserNum int64 `gorm:"column:join_user_num;type:bigint;not null;comment:投放人数" json:"join_user_num"`
|
|
|
GetNum int64 `gorm:"column:get_num;type:bigint;not null;comment:领奖总人数" json:"get_num"`
|
|
|
GetCoin int64 `gorm:"column:get_coin;type:bigint;not null;comment:领取的总金币数" json:"get_coin"`
|
|
|
PreScene int64 `gorm:"column:pre_scene;type:bigint;not null;comment:上一场id" json:"pre_scene"`
|
|
|
IsArchive int8 `gorm:"column:is_archive;type:tinyint;not null;comment:是否已经归档" json:"is_archive"`
|
|
|
}
|
|
|
|
|
|
// TableName FissionCoinScene's table name
|
|
|
func (*FissionCoinScene) TableName() string {
|
|
|
return TableNameFissionCoinScene
|
|
|
}
|