update
This commit is contained in:
@@ -33,3 +33,9 @@ func MapToCustomerListResponse(customers *entity.MemberList) []CustomerResponse
|
||||
|
||||
return responseList
|
||||
}
|
||||
|
||||
type CustomerRegistrationResp struct {
|
||||
EmailVerificationRequired bool `json:"email_verification_required"`
|
||||
PhoneVerificationRequired bool `json:"phone_verification_required"`
|
||||
VerificationID string `json:"verification_id"`
|
||||
}
|
||||
|
||||
@@ -46,10 +46,10 @@ type CustomerList struct {
|
||||
}
|
||||
|
||||
type UserRegister struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Email string `json:"email"`
|
||||
Status string `json:"status"`
|
||||
CreatedAt time.Time `json:"created_at,omitempty"`
|
||||
UpdatedAt time.Time `json:"updated_at,omitempty"`
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Email string `json:"email"`
|
||||
PhoneNumber string `json:"phone_number"`
|
||||
CreatedAt time.Time `json:"created_at,omitempty"`
|
||||
UpdatedAt time.Time `json:"updated_at,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user