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.
14 lines
314 B
14 lines
314 B
6 months ago
|
package model
|
||
|
|
||
|
import "shop-api/global"
|
||
|
|
||
|
type CollectionGoods struct { // 买家端收藏商品
|
||
|
SpuNo string `gorm:"size:60" json:"spu_no"` // spu_no
|
||
|
CreateBy string `gorm:"size:64" json:"create_by"` // 创建人
|
||
|
global.MG_MODEL
|
||
|
}
|
||
|
|
||
|
func (CollectionGoods) TableName() string {
|
||
|
return "collection_goods"
|
||
|
}
|