Add create contact and update some code

This commit is contained in:
SowinskiBraeden committed 2021-10-09 10:43:59 -07:00
1 parent 13aaf36da7
commit 7d649ef05b
2 files changed
+132 -25

No files matched your search

+3
View File
@@ -11,7 +11,10 @@ type Contact struct {
FirstName string `json:"firstname" validate:"required"`
MiddleName string `json:"middlename"`
LastName string `json:"lastname" validate:"required"`
Province string `json:"province"`
City string `json:"city"`
Address string `json:"address" validate:"required"`
Postal string `json:"postal"`
HomePhone string `json:"homephone" validate:"required"`
WorkPhone string `json:"workphone"`
Email string `json:"email" validate:"required"`