You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
678 B
17 lines
678 B
package model
|
|
|
|
import "pure/global"
|
|
|
|
type MissionClaimWorks struct { //领取任务发布的作品
|
|
global.MG_MODEL
|
|
MissionClaimId uint `gorm:"type:int(11)" json:"mission_claim_id"` //领取任务id
|
|
Type int `gorm:"type:tinyint(1)" json:"type"` //平台 1:ins 2:YouTube 3:tiktok 4:Facebook 5:Twitter
|
|
Homepage string `gorm:"size:255" json:"homepage"` //作品主页地址
|
|
Image string `json:"image"` //作品凭证截图
|
|
VideoUrl string `gorm:"size:255" json:"video_url"` //视频上传地址
|
|
|
|
}
|
|
|
|
func (MissionClaimWorks) TableName() string {
|
|
return "mission_claim_works"
|
|
}
|
|
|