package models import ( "time" "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 Email string `gorm:"unique"` GivenName string FamilyName string DisplayName string Groups string InitialPassword string InvitationSent time.Time AccountReady bool AccountCreated bool UpdateNeeded bool }