feat: add docs
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
package models
|
||||
|
||||
// Contact represents a contact entity
|
||||
type Contact struct {
|
||||
ID int `json:"id" db:"id"`
|
||||
Name string `json:"name" db:"name"`
|
||||
// ID is the unique identifier for the contact
|
||||
ID int `json:"id" db:"id"`
|
||||
// Name of the contact
|
||||
Name string `json:"name" db:"name"`
|
||||
// Company the contact works for
|
||||
Company string `json:"company" db:"company"`
|
||||
Phone string `json:"phone" db:"phone"`
|
||||
// Phone number in international format
|
||||
Phone string `json:"phone" db:"phone"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user