// 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 TableNameFissionCampaignKeepStep = "fission_campaign_keep_step" // FissionCampaignKeepStep mapped from table type FissionCampaignKeepStep 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" json:"is_del"` CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;index:idx_campaign_id,priority:1;comment:活动ID" json:"campaign_id"` Step int32 `gorm:"column:step;type:int;not null;comment:阶段" json:"step"` Percent int32 `gorm:"column:percent;type:int;not null;comment:对应的进度条数值" json:"percent"` RewardType int8 `gorm:"column:reward_type;type:tinyint;not null;comment:奖品类型(1-成长道具,2-奖品)" json:"reward_type"` RewardID int64 `gorm:"column:reward_id;type:bigint;not null;comment:奖品id" json:"reward_id"` RewardNum int32 `gorm:"column:reward_num;type:int;not null;comment:发放道具数量" json:"reward_num"` } // TableName FissionCampaignKeepStep's table name func (*FissionCampaignKeepStep) TableName() string { return TableNameFissionCampaignKeepStep }