面包店
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

db_admin_role_permission.go 514 B

9 个月前
12345678910111213141516171819
  1. package db
  2. import (
  3. model2 "applet/app/db/model"
  4. )
  5. type AdminRolePermission struct {
  6. model2.Admin `xorm:"extends"`
  7. model2.AdminRole `xorm:"extends"`
  8. model2.Role `xorm:"extends"`
  9. model2.RolePermissionGroup `xorm:"extends"`
  10. model2.PermissionGroup `xorm:"extends"`
  11. model2.PermissionGroupPermission `xorm:"extends"`
  12. model2.Permission `xorm:"extends"`
  13. }
  14. func (AdminRolePermission) TableName() string {
  15. return "admin"
  16. }