Files
agenda-web-go/internal/models/contact.go
2025-11-02 23:15:45 -03:00

14 lines
377 B
Go

package models
// Contact represents a contact entity
type Contact struct {
// 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 number in international format
Phone string `json:"phone" db:"phone"`
}