feat: Add DTO structures for User, Role, and Client responses
This commit is contained in:
parent
b397a2ba24
commit
3881009eb6
|
|
@ -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"`
|
||||||
|
}
|
||||||
|
)
|
||||||
Loading…
Reference in New Issue