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

11 lines
479 B

  1. package model
  2. type ArticleCate struct {
  3. Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
  4. Pid int `json:"pid" xorm:"default 0 comment('上级,0表示文章类型') INT(11)"`
  5. Name string `json:"name" xorm:"not null default '' VARCHAR(255)"`
  6. IsShow int `json:"is_show" xorm:"not null default 1 comment('是否显示') TINYINT(1)"`
  7. CreatedAt int `json:"created_at" xorm:"INT(11)"`
  8. UpdatedAt int `json:"updated_at" xorm:"INT(11)"`
  9. }