store_category.go 418 B

12345678910111213
  1. // Code generated by sql2gorm. DO NOT EDIT.
  2. package entity
  3. // 门店类目表
  4. type StoreCategory struct {
  5. ID int64 `gorm:"column:id;primary_key;AUTO_INCREMENT"` // id
  6. Category string `gorm:"column:category;NOT NULL"` // 一级类目
  7. Detail string `gorm:"column:detail;NOT NULL"` // 二级类目
  8. }
  9. func (m *StoreCategory) TableName() string {
  10. return "younggee_store_category"
  11. }