// 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 TableNameFissionCampaignRewardRule = "fission_campaign_reward_rule" // FissionCampaignRewardRule mapped from table type FissionCampaignRewardRule 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"` CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;index:idx_campaign_id,priority:1;comment:活动id(fission_campaign表)" json:"campaign_id"` RewardID int64 `gorm:"column:reward_id;type:bigint;not null;uniqueIndex:uniq_reward_id,priority:1;comment:奖品id(fission_campaign_reward表)" json:"reward_id"` CampaignLimit int32 `gorm:"column:campaign_limit;type:int;not null;comment:活动内单个用户可获得奖品数限制" json:"campaign_limit"` } // TableName FissionCampaignRewardRule's table name func (*FissionCampaignRewardRule) TableName() string { return TableNameFissionCampaignRewardRule }