// 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 TableNameFissionCampaignCond = "fission_campaign_cond" // FissionCampaignCond mapped from table type FissionCampaignCond 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"` 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"` ProjectID int64 `gorm:"column:project_id;type:bigint;not null;index:idx_project_id_event_event_key,priority:1;comment:项目id(project表)" json:"project_id"` Event string `gorm:"column:event;type:varchar(255);not null;index:idx_project_id_event_event_key,priority:2;comment:事件关键字" json:"event"` EventKey string `gorm:"column:event_key;type:varchar(255);not null;index:idx_project_id_event_event_key,priority:3;comment:事件key" json:"event_key"` EventVal string `gorm:"column:event_val;type:varchar(255);not null;comment:事件值" json:"event_val"` Desc string `gorm:"column:desc;type:varchar(255);not null;comment:条件描述" json:"desc"` IfCond int8 `gorm:"column:if_cond;type:tinyint;not null;comment:等式(0-等于,1-大于等于,2-累计)" json:"if_cond"` Num int64 `gorm:"column:num;type:bigint;not null;comment:触发次数" json:"num"` UserNum int64 `gorm:"column:user_num;type:bigint;not null;comment:触发人数" json:"user_num"` Total float64 `gorm:"column:total;type:decimal(18,2);not null;comment:值累计总数,仅当累计等式有值" json:"total"` TriggetType int8 `gorm:"column:trigget_type;type:tinyint;not null;default:1;comment:事件触发条件(1-点击去完成按钮,2-全局监听)" json:"trigget_type"` DelUse int8 `gorm:"column:del_use;type:tinyint;not null;comment:下线后使用数据(0-否,1-是)" json:"del_use"` EventType int8 `gorm:"column:event_type;type:tinyint;not null;default:1;comment:事件类型(1-自定义事件,2-广告事件,3-标准时间,4-活动时间)" json:"event_type"` ViewType int8 `gorm:"column:view_type;type:tinyint;not null;default:1;comment:观看广告路径" json:"view_type"` WatchSec int32 `gorm:"column:watch_sec;type:int;not null;comment:观看秒数" json:"watch_sec"` OpenJump int8 `gorm:"column:open_jump;type:tinyint;not null;comment:事件跳转(0-否,1-是)" json:"open_jump"` WebURL string `gorm:"column:web_url;type:varchar(255);not null;comment:web端url长度" json:"web_url"` ExtraParam string `gorm:"column:extra_param;type:varchar(255);not null;comment:附加参数" json:"extra_param"` PcParam string `gorm:"column:pc_param;type:varchar(255);not null;comment:pc端附加参数" json:"pc_param"` GoShow int8 `gorm:"column:go_show;type:tinyint;not null;comment:是否显示“去完成”按钮(0-否,1-是)" json:"go_show"` AdsStrategyID string `gorm:"column:ads_strategy_id;type:varchar(20);not null;comment:策略id" json:"ads_strategy_id"` IsSuper int8 `gorm:"column:is_super;type:tinyint;not null;comment:是否超级任务(0-否,1-是)" json:"is_super"` Sort int32 `gorm:"column:sort;type:int;not null;comment:排序" json:"sort"` OpenPush int8 `gorm:"column:open_push;type:tinyint;not null;comment:是否开启完成推送(0-否,1-是)" json:"open_push"` GoText string `gorm:"column:go_text;type:varchar(128);not null;comment:去完成按钮文案" json:"go_text"` ClickEffectOpen int8 `gorm:"column:click_effect_open;type:tinyint;not null;comment:开启点击有效(0-关,1开)" json:"click_effect_open"` ClickEffect int32 `gorm:"column:click_effect;type:int;not null;comment:点击有效值" json:"click_effect"` ClickEffectUnit string `gorm:"column:click_effect_unit;type:varchar(10);not null;comment:点击有效单位(min-分钟,hour-小时,day-天)" json:"click_effect_unit"` PullInvite int8 `gorm:"column:pull_invite;type:tinyint;not null;comment:是否拉起邀新(0-否,1-是)" json:"pull_invite"` RewardID int64 `gorm:"column:reward_id;type:bigint;not null;comment:奖品id" json:"reward_id"` } // TableName FissionCampaignCond's table name func (*FissionCampaignCond) TableName() string { return TableNameFissionCampaignCond }