tsk-12: Contact improvements (#18)
Closes #12 Reviewed-on: phoenix/textsender-models#18 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
@@ -5,7 +5,10 @@ import (
|
||||
)
|
||||
|
||||
type Contact struct {
|
||||
Id uuid.UUID `json:"id,omitempty"`
|
||||
PhoneNumber string `json:"phone_number,omitempty"`
|
||||
UserId uuid.UUID `json:"user_id,omitempty"`
|
||||
Id *uuid.UUID `json:"id,omitempty"`
|
||||
Firstname *string `json:"first_name,omitempty"`
|
||||
Lastname *string `json:"last_name,omitempty"`
|
||||
Nickname *string `json:"nickname,omitempty"`
|
||||
PhoneNumber string `json:"phone_number"`
|
||||
UserId *uuid.UUID `json:"user_id,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user