feat(role): Add sequence field to RoleMenuResponse and update ToRoleResponse mapping
Deploy Application / deploy (push) Successful in 21s Details

This commit is contained in:
Habib Fatkhul Rohman 2025-11-05 10:16:49 +07:00
parent e83a114390
commit 13e6c86acb
2 changed files with 11 additions and 9 deletions

View File

@ -104,6 +104,7 @@ type RoleMenuResponse struct {
Name string `json:"name"`
IconUrl string `json:"icon_url"`
Url string `json:"url"`
Sequence int `json:"sequence"`
}
type RolePermissionsResponse struct {

View File

@ -486,6 +486,7 @@ func ToRoleResponse(role entities.M_Role) dto.RoleResponse {
Name: m.Name,
IconUrl: m.IconUrl,
Url: m.Url,
Sequence: m.Sequence,
})
}