package models import "time" type Invite struct { ID uint32 `gorm:"primaryKey;autoIncrement"` Email string `gorm:"index;not null;size:255"` HashedCode string `gorm:"not null"` ExpiresAt time.Time InvitedBy uint32 `gorm:"not null"` AcceptedAt *time.Time CreatedAt time.Time `gorm:"autoCreateTime"` }