// 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 TableNameFissionCampaignConfig = "fission_campaign_config" // FissionCampaignConfig mapped from table type FissionCampaignConfig 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"` IsDel int8 `gorm:"column:is_del;type:tinyint;not null;comment:是否已删除(1-是,0-否)" json:"is_del"` CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;index:idx_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"` RuleTimeOpen int8 `gorm:"column:rule_time_open;type:tinyint;not null;comment:是否展示规则中的活动时间" json:"rule_time_open"` 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"` HasRank int8 `gorm:"column:has_rank;type:tinyint;not null;comment:是否显示排行榜(1-是,0-否)" json:"has_rank"` 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"` DownloadPageImage string `gorm:"column:download_page_image;type:varchar(128);not null;comment:下载引导页的图片" json:"download_page_image"` IsDefaultDownload int8 `gorm:"column:is_default_download;type:tinyint;not null;comment:是否使用默认下载图(0-否,1-是)" json:"is_default_download"` WechatPageImage string `gorm:"column:wechat_page_image;type:varchar(128);not null;comment:微信引导页的图片" json:"wechat_page_image"` IsDefaultWechat int8 `gorm:"column:is_default_wechat;type:tinyint;not null;comment:是否使用默认微信引导图(0-否,1-是)" json:"is_default_wechat"` ImageMain string `gorm:"column:image_main;type:varchar(128);not null;comment:活动主图" json:"image_main"` IsDefaultMain int8 `gorm:"column:is_default_main;type:tinyint;not null;comment:是否使用默认主图(0-否,1-是)" json:"is_default_main"` ImagePreview string `gorm:"column:image_preview;type:varchar(128);not null;comment:预览页图" json:"image_preview"` 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"` OpenShare int8 `gorm:"column:open_share;type:tinyint;not null;comment:是否开启分享模块" json:"open_share"` ShowShare int8 `gorm:"column:show_share;type:tinyint;not null;comment:是否显示分享社交媒体(0-否,1-是)" json:"show_share"` Share string `gorm:"column:share;type:varchar(255);not null;comment:要分享的社交媒体,例如[1,2,3]" json:"share"` CampaignData string `gorm:"column:campaign_data;type:varchar(5000);not null;comment:前端组件位置偏移数据" json:"campaign_data"` PageTitle string `gorm:"column:page_title;type:varchar(255);not null;comment:页面标题" json:"page_title"` DmShow int8 `gorm:"column:dm_show;type:tinyint;not null;comment:是否显示弹幕(0-否,1-是)" json:"dm_show"` HasWeb int8 `gorm:"column:has_web;type:tinyint;not null;comment:是否有站外活动(0-否,1-是)" json:"has_web"` WebBgImg string `gorm:"column:web_bg_img;type:varchar(128);not null;comment:站外背景图地址" json:"web_bg_img"` HasWarmUp int8 `gorm:"column:has_warm_up;type:tinyint;not null;comment:是否开启预热(0-否,1-是)" json:"has_warm_up"` 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"` Target int8 `gorm:"column:target;type:tinyint;not null;comment:活动目标(1-app下载/注册;2-提升关键指标转换率;3-app活跃/留存)" json:"target"` Option int8 `gorm:"column:option;type:tinyint;not null;comment:标选择类型(1-app下载/注册;2-好友完成指定事件;3-指定事件达标;4-拉充值/积分消耗)" json:"option"` AppEvent int8 `gorm:"column:app_event;type:tinyint;not null;comment:目标选择类型为1(option=1)的选项(1-安装;2-注册)\n" json:"app_event"` BothType int8 `gorm:"column:both_type;type:tinyint;not null;comment:满足条件(1-所有条件满足,2-任一条件满足)\n" json:"both_type"` 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"` DlType int8 `gorm:"column:dl_type;type:tinyint;not null;comment:下载引导页类型(1-通用,2-自定义多媒体)" json:"dl_type"` DlBannerType int8 `gorm:"column:dl_banner_type;type:tinyint;not null;comment:下载页横幅类型(1-默认,2-自定义)" json:"dl_banner_type"` 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"` WindowCover int8 `gorm:"column:window_cover;type:tinyint;not null;comment:是否开启全屏封面(0-关闭,1-开启)" json:"window_cover"` RewardGroup int8 `gorm:"column:reward_group;type:tinyint;not null;comment:奖品分组类型(1-常规奖品,2-用户类型奖品,3-语言奖品,4-语言+用户类型奖品)" json:"reward_group"` SupportRewardMark string `gorm:"column:support_reward_mark;type:varchar(5000);not null;comment:支持使用的奖品标识" json:"support_reward_mark"` DefaultRewardMark string `gorm:"column:default_reward_mark;type:varchar(500);not null;comment:默认使用奖品标识" json:"default_reward_mark"` PlayRule string `gorm:"column:play_rule;type:text;not null" json:"play_rule"` IconOpen string `gorm:"column:icon_open;type:varchar(64);not null;comment:开启的挂件(1-奖品列表,2-邀请记录,3-奖励记录,4-邀请好友)" json:"icon_open"` HasLongImg int8 `gorm:"column:has_long_img;type:tinyint;not null;comment:是否支持长图(0-否,1-是)" json:"has_long_img"` HasWhite int8 `gorm:"column:has_white;type:tinyint;not null;comment:是否开启白名单" json:"has_white"` WhiteList string `gorm:"column:white_list;type:varchar(1000);not null;comment:白名单列表" json:"white_list"` PcBg string `gorm:"column:pc_bg;type:varchar(64);not null;comment:Pc适配背景图" json:"pc_bg"` AdsType int8 `gorm:"column:ads_type;type:tinyint;not null;comment:广告状态(0-不启用广告,1-跟随项目配置,2-活动开启)" json:"ads_type"` Countdown int32 `gorm:"column:countdown;type:int;not null;comment:开奖倒计时" json:"countdown"` PlayType int8 `gorm:"column:play_type;type:tinyint;not null;comment:玩法类型,根据不同子活动有不同意义" json:"play_type"` PointsUse int8 `gorm:"column:points_use;type:tinyint;not null;comment:开启积分使用(0-否,1-是)" json:"points_use"` LinkTempID string `gorm:"column:link_temp_id;type:varchar(10);not null;comment:模版id" json:"link_temp_id"` OutsideTask int8 `gorm:"column:outside_task;type:tinyint;not null;comment:是否外显任务(0-否,1-是)" json:"outside_task"` ShowToUse int8 `gorm:"column:show_to_use;type:tinyint;not null;comment:是否展示奖品弹窗的去使用(0-不展示,1-展示)" json:"show_to_use"` OpenChat int8 `gorm:"column:open_chat;type:tinyint;not null;comment:是否开启ai聊天" json:"open_chat"` RuleType int8 `gorm:"column:rule_type;type:tinyint;not null;comment:规则展示类型(0-文本,1-图片)" json:"rule_type"` RuleOutside int8 `gorm:"column:rule_outside;type:tinyint;not null;comment:规则是否外显(0-否,1-是)" json:"rule_outside"` DeviceOnce int8 `gorm:"column:device_once;type:tinyint;not null;comment:设备唯一" json:"device_once"` } // TableName FissionCampaignConfig's table name func (*FissionCampaignConfig) TableName() string { return TableNameFissionCampaignConfig }