feat: add docs

This commit is contained in:
2025-11-02 22:29:24 -03:00
parent 3b1b05d5a6
commit 92f13fba22
7 changed files with 1070 additions and 8 deletions

View File

@@ -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"`
}