feat: init client
This commit is contained in:
19
models/serie.go
Normal file
19
models/serie.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user