diff --git a/domain/system.go b/domain/system.go index 445dfc1..9efeb27 100644 --- a/domain/system.go +++ b/domain/system.go @@ -18,3 +18,12 @@ type AuthorizeRequest struct { type AuthorizeResponse struct { Authorized bool } + +type AdminAuthorizeRequest struct { + AdminId int + Permission string +} + +type AdminAuthorizeResponse struct { + Authorized bool +}