dto

package
v0.0.0-...-a869338 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	FrequencyWeekly Frequency = "WEEKLY"
	FrequencyDaily  Frequency = "DAILY"

	MaleOnly   GenderFilter = "MALE"
	FemaleOnly GenderFilter = "FEMALE"
)

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    `json:"id"`
	Person    Person    `json:"person"`
	SessionID string    `json:"session_id"`
	CheckInAt time.Time `json:"check_in_at"`
	Location  Location  `json:"location"`
}

type CheckInInput

type CheckInInput struct {
	PersonIDs []string `json:"person_ids"`
	EventID   string   `json:"event_id"`
	CheckerID string   `json:"checker_id"`
}

type ChurchEvent

type ChurchEvent struct {
	ID                     string
	Name                   string
	Locations              []Location
	EventFrequency         Frequency
	LatestSessionStartTime time.Time
	ShowAt                 time.Time
	HideAt                 time.Time
}

type ChurchEventSession

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

type CreateSessionInput

type CreateSessionInput struct {
	EventID string
}

type Frequency

type Frequency string

type GenderFilter

type GenderFilter string

type Location

type Location struct {
	Name      string
	AgeFilter AgeFilter
}

type Person

type Person struct {
	ID        string
	FirstName string
	LastName  string
}

Jump to

Keyboard shortcuts

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