feat: Add DTO structures for User, Role, and Client responses

This commit is contained in:
Habib Fatkhul Rohman 2025-10-25 01:36:22 +07:00
parent b397a2ba24
commit 3881009eb6
1 changed files with 18 additions and 0 deletions

18
pkg/dto/response.go Normal file
View File

@ -0,0 +1,18 @@
package dto
type (
UserResponse struct {
ID string `json:"id"`
Name string `json:"name"`
}
RoleResponse struct {
ID string `json:"id"`
Name string `json:"name"`
}
ClientResponse struct {
ID string `json:"id"`
Name string `json:"name"`
}
)