Backend/internal/interfaces/api/responses/user_response.go

18 lines
535 B
Go

package responses
import "time"
type UserResponse struct {
Id string `json:"id"`
UserName string `json:"username"`
Name string `json:"name"`
Role string `json:"role"`
Speciality string `json:"speciality"`
Description string `json:"description"`
Skills []string `json:"skills"`
Avatar string `json:"avatar"`
JoinDate time.Time `json:"joinDate"`
Projects []string `json:"projects"`
Motto string `json:"motto"`
}
type UserResponseList []UserResponse