hugo-medialog/internal/series/model.go

28 lines
727 B
Go
Raw Normal View History

2024-10-08 21:08:01 +02:00
package series
type Serie struct {
2024-10-09 21:56:40 +02:00
Title string `yaml:"title"`
IDs struct {
Slug string `json:"slug"`
IMDB string `json:"imdb"`
TMDB int `json:"tmdb"`
Trakt int `json:"trakt"`
TVDB int `json:"tvdb"`
} `json:"ids"`
2024-10-08 21:08:01 +02:00
Subtitle string `yaml:"subtitle"`
2024-10-09 21:56:40 +02:00
Link string `yaml:"link"`
2024-10-08 21:08:01 +02:00
Year int `yaml:"year"`
Rate float64 `yaml:"rate"`
Progress string `yaml:"progress"`
2024-10-11 20:20:16 +02:00
Episode string `yaml:"episode"`
2024-10-08 21:08:01 +02:00
Image string `yaml:"image"`
Poster string `yaml:"poster-image"`
Background string `yaml:"background-image"`
Date string `yaml:"date"`
New bool `yaml:"new"`
Query string `yaml:"query"`
2024-10-08 21:08:01 +02:00
Tags []string
}
type Series []Serie