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.
15 lines
603 B
15 lines
603 B
package model
|
|
|
|
import "shop-api/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:Pinterest 3:tk 4:Twitter 5:Facebook 6:Reddit
|
|
Homepage string `gorm:"size:255" json:"homepage"` // 作品主页地址
|
|
Image string `json:"image"` // 作品凭证截图
|
|
}
|
|
|
|
func (MissionClaimWorks) TableName() string {
|
|
return "mission_claim_works"
|
|
}
|
|
|