Closes #12 Reviewed-on: phoenix/textsender-models#18 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
15 lines
381 B
Go
15 lines
381 B
Go
package contact
|
|
|
|
import (
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type Contact struct {
|
|
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"`
|
|
}
|