Files
tcgdex-golang/models/serie.go
2025-08-12 18:57:23 +02:00

20 lines
434 B
Go

// Package models defines the data structures used in the Pokémon TCG database.
package models
// Serie represent the Pokémon TCG serie.
type Serie struct {
/**
* the list of sets the Serie contains
*/
Sets []SetResume `json:"sets"`
// ID unique of the serie.
ID string `json:"id"`
// Name of the serie.
Name string `json:"name"`
// Logo of the Serie (basically also the first set logo).
Logo string `json:"logo"`
}