Files
warmbly/internal/models/user.go
T

26 lines
579 B
Go

package models
import (
"time"
"github.com/google/uuid"
)
type User struct {
ID uuid.UUID `json:"id"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Email string `json:"email"`
Roles []uuid.UUID `json:"roles"`
ReferralSource *string `json:"referral_source"`
OnboardingCompletedAt *time.Time `json:"onboarding_completed_at"`
MaxOrganizations int `json:"max_organizations"`
FreeTrialUsed bool `json:"free_trial_used"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}