From b841ef7d8a436f7e2ad18c118b450d2e4d507701 Mon Sep 17 00:00:00 2001 From: Hoang Date: Tue, 16 Nov 2021 17:47:54 +0700 Subject: [PATCH] update AllModelRes --- model/permission_response.go | 1 + model/role_response.go | 1 + model/user_response.go | 1 + 3 files changed, 3 insertions(+) diff --git a/model/permission_response.go b/model/permission_response.go index 9557aa2..09e9f55 100644 --- a/model/permission_response.go +++ b/model/permission_response.go @@ -20,5 +20,6 @@ type ( PermissionAll struct { List []Permission `json:"list"` Total int64 `json:"total"` + Limit int64 `json:"limit"` } ) diff --git a/model/role_response.go b/model/role_response.go index 1c47dd1..4223479 100644 --- a/model/role_response.go +++ b/model/role_response.go @@ -27,5 +27,6 @@ type ( RoleAll struct { List []Role `json:"list"` Total int64 `json:"total"` + Limit int64 `json:"limit"` } ) diff --git a/model/user_response.go b/model/user_response.go index 9bd6344..47872cb 100644 --- a/model/user_response.go +++ b/model/user_response.go @@ -22,5 +22,6 @@ type ( UserAll struct { List []User `json:"list"` Total int64 `json:"total"` + Limit int64 `json:"limit"` } )