|
|
// 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 TableNameFissionCampaignCoin = "fission_campaign_coin"
|
|
|
|
|
|
// FissionCampaignCoin mapped from table <fission_campaign_coin>
|
|
|
type FissionCampaignCoin 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_campaign_id,priority:1;comment:活动id(fission_campaign表)" json:"campaign_id"`
|
|
|
CoinImg string `gorm:"column:coin_img;type:varchar(128);not null;comment:金币图片" json:"coin_img"`
|
|
|
OpenDays int32 `gorm:"column:open_days;type:int;not null;comment:开奖天数" json:"open_days"`
|
|
|
OpenLimit int32 `gorm:"column:open_limit;type:int;not null;comment:开奖次数限制" json:"open_limit"`
|
|
|
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"`
|
|
|
UseCoin int32 `gorm:"column:use_coin;type:int;not null;comment:单次投放消耗金币数" json:"use_coin"`
|
|
|
UseLimit int32 `gorm:"column:use_limit;type:int;not null;comment:单次瓜分最多投放次数" json:"use_limit"`
|
|
|
URLID int64 `gorm:"column:url_id;type:bigint;not null;comment:回调地址id" json:"url_id"`
|
|
|
LackBtn string `gorm:"column:lack_btn;type:varchar(255);not null;comment:金币不足展示的按钮(1-做任务,2-自定义按钮)" json:"lack_btn"`
|
|
|
CustomBtnText string `gorm:"column:custom_btn_text;type:varchar(64);not null;comment:自定义按钮文案" json:"custom_btn_text"`
|
|
|
CustomWebURL string `gorm:"column:custom_web_url;type:varchar(255);not null;comment:自定义web端url" json:"custom_web_url"`
|
|
|
CustomExtraParam string `gorm:"column:custom_extra_param;type:varchar(255);not null;comment:自定义app附加参数" json:"custom_extra_param"`
|
|
|
CustomPcParam string `gorm:"column:custom_pc_param;type:varchar(255);not null;comment:自定义pc端附加参数" json:"custom_pc_param"`
|
|
|
}
|
|
|
|
|
|
// TableName FissionCampaignCoin's table name
|
|
|
func (*FissionCampaignCoin) TableName() string {
|
|
|
return TableNameFissionCampaignCoin
|
|
|
}
|