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 {
|
type Contact struct {
|
||||||
Id uuid.UUID `json:"id,omitempty"`
|
Id *uuid.UUID `json:"id,omitempty"`
|
||||||
PhoneNumber string `json:"phone_number,omitempty"`
|
Firstname *string `json:"first_name,omitempty"`
|
||||||
UserId uuid.UUID `json:"user_id,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