cm_group.go 409 B

12345678910111213
  1. package models
  2. import (
  3. "time"
  4. )
  5. type CmGroup struct {
  6. Id int `xorm:"not null pk autoincr comment('id') INT(11)"`
  7. Name string `xorm:"not null comment('角色名称') VARCHAR(32)"`
  8. Permission string `xorm:"not null comment('权限ID') TEXT"`
  9. Remark string `xorm:"comment('备注') VARCHAR(32)"`
  10. CreateTime time.Time `xorm:"not null comment('创建时间') DATETIME"`
  11. }