// 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 TableNameFissionCampaignTicket = "fission_campaign_ticket" // FissionCampaignTicket mapped from table type FissionCampaignTicket 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_mark,priority:1;comment:活动ID(fission_campaign表)" json:"campaign_id"` Mark string `gorm:"column:mark;type:varchar(12);not null;index:uniq_campaign_id_mark,priority:2;comment:支持规则标识(fixed-固定事件,custom-自定义事件,reward_help-奖品助力)" json:"mark"` Open int8 `gorm:"column:open;type:tinyint;not null;comment:开启状态(0-未开启,1-开启)" json:"open"` AppEvent int8 `gorm:"column:app_event;type:tinyint;not null;comment:固定事件选项(1-安装;2-注册)" json:"app_event"` BothType int8 `gorm:"column:both_type;type:tinyint;not null;comment:自定义事件满足条件(1-所有条件满足,2-任一条件满足)\n" json:"both_type"` HelpEvent string `gorm:"column:help_event;type:varchar(255);not null;comment:支持助力事件(help_install,help_register,help_click,help_open)" json:"help_event"` PreEvent int8 `gorm:"column:pre_event;type:tinyint;not null;comment:自定义事件前置事件(1-安装;2-注册)" json:"pre_event"` } // TableName FissionCampaignTicket's table name func (*FissionCampaignTicket) TableName() string { return TableNameFissionCampaignTicket }