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

package goods
type Associate struct {
ID uint `json:"id"`
GoodsID uint `json:"goods_id"`
OtherGoodsID uint `json:"other_goods_id"`
Distance int `json:"distance"`
}
func (a Associate) TableName() string {
return "recook_goods_associate"
}