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

преди 9 месеца
12345678910
  1. package model
  2. type AdmRolePerms struct {
  3. Id int `json:"id" xorm:"not null pk autoincr comment('ID') INT(10)"`
  4. Pid int `json:"pid" xorm:"not null comment('父ID') INT(10)"`
  5. Perm string `json:"perm" xorm:"not null default '' comment('权限匹配名') VARCHAR(128)"`
  6. PermName string `json:"perm_name" xorm:"not null default '' comment('后台显示名称') VARCHAR(64)"`
  7. Sort int `json:"sort" xorm:"not null default 0 comment('显示排序,越大越前') INT(11)"`
  8. State int `json:"state" xorm:"not null default 1 comment('是否开启') TINYINT(1)"`
  9. }