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.

13 lines
266 B

package model
import "pure-admin/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"`
}
func (GoodsVisit) TableName() string {
return "goods_visit"
}