18 lines
515 B
Go
18 lines
515 B
Go
package dto
|
|
|
|
import (
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
// UserInfoResponse is a flat response with user and profile_id.
|
|
type UserInfoResponse struct {
|
|
ID uuid.UUID `json:"id"`
|
|
Email string `json:"email"`
|
|
FirstName string `json:"first_name"`
|
|
LastName string `json:"last_name"`
|
|
PhoneNumber string `json:"phone_number"`
|
|
EmailVerified bool `json:"email_verified"`
|
|
Status string `json:"status"`
|
|
ProfileID *uuid.UUID `json:"profile_id,omitempty"`
|
|
}
|