|
|
// 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 TableNameFissionCampaignV = "fission_campaign_vs"
|
|
|
|
|
|
// FissionCampaignV mapped from table <fission_campaign_vs>
|
|
|
type FissionCampaignV 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"`
|
|
|
InitChance int32 `gorm:"column:init_chance;type:int;not null;comment:初始投票次数" json:"init_chance"`
|
|
|
EachLimitNum int32 `gorm:"column:each_limit_num;type:int;not null;comment:每场可投票次数" json:"each_limit_num"`
|
|
|
OpenPoint int8 `gorm:"column:open_point;type:tinyint;not null;comment:是否开启积分(0-否,1-时)" json:"open_point"`
|
|
|
PointsNum int32 `gorm:"column:points_num;type:int;not null;comment:投票扣除积分数" json:"points_num"`
|
|
|
MallOpen int8 `gorm:"column:mall_open;type:tinyint;not null;comment:是否使用积分商城(0-否,1-是)" json:"mall_open"`
|
|
|
MallID int64 `gorm:"column:mall_id;type:bigint;not null;comment:兑换商城id" json:"mall_id"`
|
|
|
VsTz int32 `gorm:"column:vs_tz;type:int;not null;comment:比赛时区" json:"vs_tz"`
|
|
|
ClaimType int8 `gorm:"column:claim_type;type:tinyint;not null;comment:领奖方式(1-结算后自动发奖,2-结算后进入活动后发奖,3-结算后手动领奖)" json:"claim_type"`
|
|
|
IconMall string `gorm:"column:icon_mall;type:varchar(128);not null;comment:商城图标" json:"icon_mall"`
|
|
|
IconReward string `gorm:"column:icon_reward;type:varchar(128);not null;comment:奖励记录图标" json:"icon_reward"`
|
|
|
IconSchedule string `gorm:"column:icon_schedule;type:varchar(128);not null;comment:赛程图标" json:"icon_schedule"`
|
|
|
}
|
|
|
|
|
|
// TableName FissionCampaignV's table name
|
|
|
func (*FissionCampaignV) TableName() string {
|
|
|
return TableNameFissionCampaignV
|
|
|
}
|