面包店
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.

goods_category.go 533 B

8 months ago
12345678910
  1. package model
  2. type GoodsCategory struct {
  3. Id int `json:"id" xorm:"not null pk INT(11)"`
  4. Pid int `json:"pid" xorm:"comment('上级id') index INT(11)"`
  5. Name string `json:"name" xorm:"comment('类目名称') VARCHAR(255)"`
  6. Level int `json:"level" xorm:"comment('类目级别') index INT(3)"`
  7. CreateAt string `json:"create_at" xorm:"default 'CURRENT_TIMESTAMP' comment('创建时间') TIMESTAMP"`
  8. UpdateAt string `json:"update_at" xorm:"default 'CURRENT_TIMESTAMP' comment('更新时间') TIMESTAMP"`
  9. }