initial commit
This commit is contained in:
17
internal/dto/account.go
Normal file
17
internal/dto/account.go
Normal file
@@ -0,0 +1,17 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user