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" }