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

package goods
type Content struct {
ID uint `gorm:"column:id;primary_key" json:"id"`
GoodsID uint `gorm:"column:goods_id" json:"goodsId"`
Content string `gorm:"column:content" json:"content"`
}
// TableName sets the insert table name for this struct type
func (c *Content) TableName() string {
return "recook_goods_content"
}