// 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 TableNameFissionClientReward = "fission_client_reward" // FissionClientReward mapped from table type FissionClientReward struct { ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"` CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"` UserID string `gorm:"column:user_id;type:varchar(50);not null;index:idx_user_id_receive_at_project_id_campaign_id,priority:1;comment:用户id" json:"user_id"` ProjectID int64 `gorm:"column:project_id;type:bigint;not null;index:idx_user_id_receive_at_project_id_campaign_id,priority:3;comment:项目id" json:"project_id"` CampaignID int64 `gorm:"column:campaign_id;type:bigint;not null;index:idx_user_id_receive_at_project_id_campaign_id,priority:4;comment:活动id" json:"campaign_id"` RecordID int64 `gorm:"column:record_id;type:bigint;not null;comment:发奖记录id" json:"record_id"` ReceiveAt int64 `gorm:"column:receive_at;type:bigint;not null;index:idx_user_id_receive_at_project_id_campaign_id,priority:2;comment:接收时间" json:"receive_at"` } // TableName FissionClientReward's table name func (*FissionClientReward) TableName() string { return TableNameFissionClientReward }