feat: add contact model
This commit is contained in:
8
internal/models/contact.go
Normal file
8
internal/models/contact.go
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package models
|
||||||
|
|
||||||
|
type Contact struct {
|
||||||
|
ID int `json:"id" db:"id"`
|
||||||
|
Name string `json:"name" db:"name"`
|
||||||
|
Company string `json:"company" db:"company"`
|
||||||
|
Phone string `json:"phone" db:"phone"`
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user