2022-03-05 15:58:15 +00:00
|
|
|
package media
|
2021-06-26 18:08:35 +00:00
|
|
|
|
|
|
|
type Book struct {
|
2021-07-02 22:13:58 +00:00
|
|
|
ID int `json:"-"`
|
|
|
|
Title string `json:"title"`
|
|
|
|
Authors []string `json:"authors"`
|
|
|
|
SortAuthor string `json:"sortAuthor"`
|
|
|
|
ISBN10 string `json:"isbn-10"`
|
|
|
|
ISBN13 string `json:"isbn-13"`
|
|
|
|
Format string `json:"format"`
|
|
|
|
Genre string `json:"genre"`
|
|
|
|
Publisher string `json:"publisher"`
|
|
|
|
Series string `json:"series"`
|
|
|
|
Volume string `json:"volume"`
|
|
|
|
Year string `json:"year"`
|
|
|
|
Signed bool `json:"signed"`
|
|
|
|
Description string `json:"description"`
|
|
|
|
Notes string `json:"notes"`
|
|
|
|
CoverURL string `json:"coverURL"`
|
2023-10-08 19:05:15 +00:00
|
|
|
Childrens bool `json:"childrens"`
|
2021-06-26 18:08:35 +00:00
|
|
|
}
|
2022-03-05 15:58:15 +00:00
|
|
|
|
|
|
|
type Record struct {
|
2022-03-13 22:04:09 +00:00
|
|
|
ID int `json:"-"`
|
|
|
|
AlbumName string `json:"name"`
|
|
|
|
Artists []string `json:"artists"`
|
|
|
|
SortArtist string `json:"sortArtist"`
|
|
|
|
Identifier string `json:"identifier"`
|
|
|
|
Format string `json:"format"`
|
|
|
|
Genre string `json:"genre"`
|
|
|
|
Label string `json:"label"`
|
|
|
|
Year string `json:"year"`
|
|
|
|
Description string `json:"description"`
|
|
|
|
CoverURL string `json:"coverURL"`
|
|
|
|
DiscogsURL string `json:"discogsURL"`
|
2022-03-05 15:58:15 +00:00
|
|
|
}
|