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.

21 lines
801 B

package recommendedlist
import "recook/internal/v2/lib/db"
type RecookCommendList struct {
db.BaseModel
Id uint `gorm:"column:id" json:"id"`
GoodsId uint `gorm:"column:goods_id" json:"goods_id"`
MainPhoto string `gorm:"column:main_photo" json:"main_photo"`
GoodsName string `gorm:"column:goods_name" json:"goods_name"`
CommissionList string `gorm:"column:commission_list" json:"commission_list"`
DiscountPriceList string `gorm:"column:discount_price_list" json:"discount_price_list"`
GysName string `gorm:"column:gys_name" json:"gys_name"`
Status uint `gorm:"column:status" json:"status"`
IsSale bool `json:"is_sale"`
}
func (r RecookCommendList) TableName() string {
return "recook_recommended_list"
}