// 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 TableNameFissionUserTaskReward = "fission_user_task_reward" // FissionUserTaskReward mapped from table type FissionUserTaskReward struct { ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"` CreatedAt int64 `gorm:"column:created_at;type:bigint;not null;index:idx_campaign_id_created_at,priority:2" json:"created_at"` UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"` UserID int64 `gorm:"column:user_id;type:bigint;not null;index:idx_user_id_receive_time_task_id,priority:1;comment:活动用户ID(fission_user表主键)" json:"user_id"` CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;index:idx_campaign_id_created_at,priority:1;comment:活动ID(fission_campaign表)" json:"campaign_id"` TaskID int64 `gorm:"column:task_id;type:bigint;not null;index:idx_user_id_receive_time_task_id,priority:3;comment:任务ID(fission_campaign_task表)" json:"task_id"` ReceiveTime int64 `gorm:"column:receive_time;type:bigint;not null;index:idx_user_id_receive_time_task_id,priority:2;comment:领取时间" json:"receive_time"` TaskRecordID int64 `gorm:"column:task_record_id;type:bigint;not null;comment:任务完成记录ID(fission_user_task_record表)" json:"task_record_id"` } // TableName FissionUserTaskReward's table name func (*FissionUserTaskReward) TableName() string { return TableNameFissionUserTaskReward }