package model // ProductOriginOption 产地字典(门店级) type ProductOriginOption struct { TenantBase Code string `gorm:"size:50" json:"code"` Name string `gorm:"size:200;not null" json:"name"` Remark string `gorm:"size:500" json:"remark"` } // ProductShelfLifeOption 保质期字典(门店级) type ProductShelfLifeOption struct { TenantBase Code string `gorm:"size:50" json:"code"` Name string `gorm:"size:200;not null" json:"name"` // 如「无限期(适饮)」「24个月」 Remark string `gorm:"size:500" json:"remark"` } // ProductStorageOption 储存方式字典(门店级) type ProductStorageOption struct { TenantBase Code string `gorm:"size:50" json:"code"` Name string `gorm:"size:200;not null" json:"name"` // 如「阴凉干燥、避光保存」 Remark string `gorm:"size:500" json:"remark"` } // ProductDescriptionDoc 商品描述文档字典(门店级) // Title = 酒类型(如「酱香型白酒」),Content = 商品介绍正文 type ProductDescriptionDoc struct { TenantBase Title string `gorm:"size:200;not null" json:"title"` Content string `gorm:"type:text" json:"content"` Remark string `gorm:"size:500" json:"remark"` }