package schema

type WaitType int

const (
	WaitAudio WaitType = iota
	WaitVideo
	WaitTTS
	WaitRelay
	WaitWeb
	WaitPJLink
)

type WaitItemModel struct {
	Cron     string   `json:"cron"`
	Type     WaitType `json:"type"`
	Data     string   `json:"data"`
	Interval int64    `json:"interval"`
	Pause    bool     `json:"pause"`
}

type WaitModel struct {
	JsonModel
	Cron  string          `json:"cron"`
	Items []WaitItemModel `json:"items"`
}
