feat: get user table
This commit is contained in:
10
api/dto/user_response.go
Normal file
10
api/dto/user_response.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package dto
|
||||
|
||||
// User response for exposing to the front-end
|
||||
type UserResponse struct {
|
||||
Id int
|
||||
Name string
|
||||
Job_Position string
|
||||
Active bool
|
||||
Admin bool
|
||||
}
|
||||
Reference in New Issue
Block a user