entities

package
v0.0.0-...-ff4c41b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgeFilter

type AgeFilter struct {
	From int
	To   int
}

type CheckInEvent

type CheckInEvent struct {
	ID        string
	Person    Person
	SessionID string
	CheckInAt time.Time
}

type ChurchEvent

type ChurchEvent struct {
	ID                     string
	Name                   string
	Locations              []Location
	EventFrequency         Frequency
	LatestSessionStartTime time.Time
	LatestShowAt           time.Time
	LatestHideAt           time.Time
	LatestSessionNo        int
}

type ChurchEventSession

type ChurchEventSession struct {
	ID        string
	Name      string
	SessionNo int
	StartTime time.Time
	ShowAt    time.Time
	HideAt    time.Time
}

type Frequency

type Frequency string
const (
	FrequencyWeekly Frequency = "WEEKLY"
	FrequencyDaily  Frequency = "DAILY"
)

type Location

type Location struct {
	Name      string
	AgeFilter AgeFilter
}

type Person

type Person struct {
	ID        string
	FirstName string
	LastName  string
	Birthday  string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL