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
316 B

6 months ago
package model
import "shop-api/global"
type GoodsVisit struct {
global.MG_MODEL
UserID string `gorm:"size:50;index" json:"user_id"` // 用户id
GoodsID uint `gorm:"size:50" json:"goods_id"`
ClaimNo string `json:"claim_no"` // 领取任务id
}
func (GoodsVisit) TableName() string {
return "goods_visit"
}