package db import ( model2 "applet/app/db/model" ) type AdminRolePermission struct { model2.Admin `xorm:"extends"` model2.AdminRole `xorm:"extends"` model2.Role `xorm:"extends"` model2.RolePermissionGroup `xorm:"extends"` model2.PermissionGroup `xorm:"extends"` model2.PermissionGroupPermission `xorm:"extends"` model2.Permission `xorm:"extends"` } func (AdminRolePermission) TableName() string { return "admin" }