2026-03-26 12:28:21 +07:00

38 lines
889 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package models
import "time"
type Schedule struct {
UpdateTime string `json:"update_time"`
Days []*Day `json:"days"`
}
// День с событиями
type Day struct {
Date time.Time `json:"date"`
Performances []*DayPerformance `json:"performances"`
}
// Событие (мероприятия, праздник, поездка, событие)
type DayPerformance struct {
// Время сбора
TimeCollection string `json:"time_collection"`
// Время начала мероприятия
TimeStart string `json:"time_start"`
// Место
Place string `json:"place"`
// Наименование мероприятия
Name string `json:"name"`
// Номера
Numbers []*Number `json:"numbers"`
// Костюмы
Costumes string `json:"costumes"`
}
// Номер
type Number struct {
// Название
Name string `json:"name"`
}