|
123456789101112131415161718192021222324252627 |
- package db
-
- import (
- model2 "applet/app/db/model"
- )
-
- type AdminRolePermissionGroup struct {
- model2.Admin `xorm:"extends"`
- model2.AdminRole `xorm:"extends"`
- model2.Role `xorm:"extends"`
- model2.RolePermissionGroup `xorm:"extends"`
- model2.PermissionGroup `xorm:"extends"`
- }
-
- func (AdminRolePermissionGroup) TableName() string {
- return "admin"
- }
-
- type AdminEnterprise struct {
- model2.Admin `xorm:"extends"`
- model2.AdminWithEnterprise `xorm:"extends"`
- model2.Enterprise `xorm:"extends"`
- }
-
- func (AdminEnterprise) TableName() string {
- return "admin"
- }
|