package manage import ( "recook/internal/v2/model/recook/goods" "time" ) type RecookThirdPartySupplyCategory struct { Id uint `gorm:"column:id"` FirstCategoryName string // 一级分类名称 SecondCategoryName string // 二级分类名称 ThirdCategoryName string // 三级分类名称 CategoryId uint // 匹配分类id Category goods.RecookGoodsCategoryModel `gorm:"foreignKey:CategoryId"` CreatedAt time.Time UpdatedAt time.Time } func (r *RecookThirdPartySupplyCategory) TableName() string { return "recook_third_party_supply_category" }