product_category.go 455 B

12345678910111213141516
  1. package entity
  2. import "gopkg.in/guregu/null.v3"
  3. type ProductCategory struct {
  4. Id int `db:"id"`
  5. ParentId int `db:"parent_id"`
  6. Name string `db:"name"`
  7. IsLeaf int `db:"is_leaf"`
  8. SortNo int `db:"sort_no"`
  9. Pictrue string `db:"picture"`
  10. SubTitle null.String `db:"sub_title"`
  11. CreatedAt string `db:"created_at"`
  12. Link string `db:"link"`
  13. Icon string `db:"icon"`
  14. }