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.

53 lines
5.2 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 TableNameFissionCampaignStyle = "fission_campaign_style"
// FissionCampaignStyle mapped from table <fission_campaign_style>
type FissionCampaignStyle struct {
ID int64 `gorm:"column:id;type:bigint;primaryKey;autoIncrement:true" 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:uniq_campaign_id,priority:1;comment:活动ID(fission_campaign表)" json:"campaign_id"`
RuleTextColor string `gorm:"column:rule_text_color;type:varchar(10);not null;comment:规则文字颜色" json:"rule_text_color"`
RuleBgColor string `gorm:"column:rule_bg_color;type:varchar(10);not null;comment:规则背景颜色" json:"rule_bg_color"`
ShareText string `gorm:"column:share_text;type:varchar(255);not null;comment:分享文案" json:"share_text"`
ShareImg string `gorm:"column:share_img;type:varchar(64);not null;comment:分享图片" json:"share_img"`
RankBackgroundColor string `gorm:"column:rank_background_color;type:varchar(10);not null;comment:排行榜背景颜色" json:"rank_background_color"`
RankTextColor string `gorm:"column:rank_text_color;type:varchar(10);not null;comment:排行榜字体颜色" json:"rank_text_color"`
LinkBtnTextColor string `gorm:"column:link_btn_text_color;type:varchar(10);not null;comment:分享链接按钮文字颜色" json:"link_btn_text_color"`
LinkBtnBgColor string `gorm:"column:link_btn_bg_color;type:varchar(10);not null;comment:分享链接按钮背景颜色" json:"link_btn_bg_color"`
LinkTextColor string `gorm:"column:link_text_color;type:varchar(10);not null;comment:分享链接文字颜色" json:"link_text_color"`
PageTitle string `gorm:"column:page_title;type:varchar(255);not null;comment:页面标题" json:"page_title"`
IconType int8 `gorm:"column:icon_type;type:tinyint;not null;comment:活动挂件样式(用于前端挂件选用判断)" json:"icon_type"`
IconBgColor string `gorm:"column:icon_bg_color;type:varchar(10);not null;comment:活动挂件背景色" json:"icon_bg_color"`
IconTextColor string `gorm:"column:icon_text_color;type:varchar(10);not null;comment:活动挂件文字颜色" json:"icon_text_color"`
MainImg string `gorm:"column:main_img;type:varchar(128);not null;comment:活动背景图" json:"main_img"`
WechatImg string `gorm:"column:wechat_img;type:varchar(128);not null;comment:微信引导页" json:"wechat_img"`
DownloadImg string `gorm:"column:download_img;type:varchar(128);not null;comment:下载引导页" json:"download_img"`
WebImg string `gorm:"column:web_img;type:varchar(128);not null;comment:站外活动背景图" json:"web_img"`
Share string `gorm:"column:share;type:varchar(255);not null;comment:要分享的社交媒体,例如[1,2,3]" json:"share"`
WarmUpImg string `gorm:"column:warm_up_img;type:varchar(128);not null;comment:预热海报图" json:"warm_up_img"`
WarmUpEnd int32 `gorm:"column:warm_up_end;type:int;not null;comment:活动开始前多少分钟结束预热" json:"warm_up_end"`
DlBannerImg string `gorm:"column:dl_banner_img;type:varchar(255);not null;comment:下载页横幅自定义图" json:"dl_banner_img"`
DlBannerAppLogo string `gorm:"column:dl_banner_app_logo;type:varchar(255);not null;comment:下载页横幅applogo图片" json:"dl_banner_app_logo"`
DlBannerAppName string `gorm:"column:dl_banner_app_name;type:varchar(64);not null;comment:下载页横幅app名称" json:"dl_banner_app_name"`
DlBannerAppBtn string `gorm:"column:dl_banner_app_btn;type:varchar(64);not null;comment:下载页横幅app按钮文案" json:"dl_banner_app_btn"`
DlBannerPosition int8 `gorm:"column:dl_banner_position;type:tinyint;not null;comment:下载页横幅位置(1-顶部,2-底部)" json:"dl_banner_position"`
TopicColor string `gorm:"column:topic_color;type:varchar(10);not null;comment:主题颜色" json:"topic_color"`
IconOpen string `gorm:"column:icon_open;type:varchar(64);not null;comment:开启的挂件(1-奖品列表,2-邀请记录,3-奖励记录,4-邀请好友)" json:"icon_open"`
PcBg string `gorm:"column:pc_bg;type:varchar(64);not null;comment:Pc适配背景图" json:"pc_bg"`
CustomStyle string `gorm:"column:custom_style;type:text;not null;comment:自定义样式数据" json:"custom_style"`
PlayRule string `gorm:"column:play_rule;type:text;not null;comment:活动规则" json:"play_rule"`
RuleImg string `gorm:"column:rule_img;type:varchar(128);not null;comment:活动规则图片" json:"rule_img"`
BgImg string `gorm:"column:bg_img;type:varchar(128);not null;comment:玩法背景图(如:问题背景图)" json:"bg_img"`
}
// TableName FissionCampaignStyle's table name
func (*FissionCampaignStyle) TableName() string {
return TableNameFissionCampaignStyle
}