You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
2.6 KiB
Go

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// 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 TableNameFissionCampaignVsSchedule = "fission_campaign_vs_schedule"
// FissionCampaignVsSchedule mapped from table <fission_campaign_vs_schedule>
type FissionCampaignVsSchedule 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_vs_idx,priority:1;comment:活动id(fission_campaign表)" json:"campaign_id"`
VsIdx int32 `gorm:"column:vs_idx;type:int;not null;index:idx_campaign_id_vs_idx,priority:2;comment:赛程" json:"vs_idx"`
RewardID int64 `gorm:"column:reward_id;type:bigint;not null;comment:奖品id(fission_campaign_reward表)" json:"reward_id"`
VsTeamIds string `gorm:"column:vs_team_ids;type:varchar(255);not null;comment:对战队伍id" json:"vs_team_ids"`
VoteStart int64 `gorm:"column:vote_start;type:bigint;not null;comment:投票开始时间" json:"vote_start"`
VoteEnd int64 `gorm:"column:vote_end;type:bigint;not null;comment:投票结束时间" json:"vote_end"`
VsAt int64 `gorm:"column:vs_at;type:bigint;not null;comment:开赛时间" json:"vs_at"`
VsImg string `gorm:"column:vs_img;type:varchar(128);not null;comment:对战图" json:"vs_img"`
Desc string `gorm:"column:desc;type:varchar(255);not null;comment:标题描述" json:"desc"`
IsSettlement int8 `gorm:"column:is_settlement;type:tinyint;not null;comment:是否已经结算(0-否,1-是)" json:"is_settlement"`
OtherVote string `gorm:"column:other_vote;type:varchar(255);not null;comment:额外投票选项" json:"other_vote"`
Settlement string `gorm:"column:settlement;type:text;not null;comment:结算数据" json:"settlement"`
OpenOdds int8 `gorm:"column:open_odds;type:tinyint;not null;comment:开启赔率" json:"open_odds"`
OddsLeft string `gorm:"column:odds_left;type:varchar(10);not null;comment:左边赔率" json:"odds_left"`
OddsRight string `gorm:"column:odds_right;type:varchar(10);not null;comment:右边赔率" json:"odds_right"`
OddsDraw string `gorm:"column:odds_draw;type:varchar(10);not null;comment:平局赔率" json:"odds_draw"`
}
// TableName FissionCampaignVsSchedule's table name
func (*FissionCampaignVsSchedule) TableName() string {
return TableNameFissionCampaignVsSchedule
}