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.

17 lines
555 B

package goods
type DetailPhoto struct {
ID uint `gorm:"column:id;primary_key" json:"id"`
GoodsID uint `gorm:"column:goods_id" json:"goodsId"`
URL string `gorm:"column:url" json:"url"`
Name string `gorm:"column:name" json:"name"`
OrderNo uint `gorm:"column:order_no" json:"orderNo"`
Width uint `gorm:"column:width" json:"width"`
Height uint `gorm:"column:height" json:"height"`
}
// TableName sets the insert table name for this struct type
func (r *DetailPhoto) TableName() string {
return "recook_goods_detail_photo"
}