package models import ( "database/sql" "github.com/google/uuid" "gorm.io/gorm" ) type Person struct { gorm.Model IsMember bool IsContact bool FirstName string LastName string Email string `gorm:"unique"` Phone string Mobile string Address1 string Address2 string PostalCode string City string SectionID uint Section Section } type PersonAccount struct { gorm.Model PersonID uint Person Person UUID uuid.UUID `gorm:"unique"` Enabled bool Groups string AccountCreated sql.NullTime InvitationSent sql.NullTime UpdateNeeded bool }