rename book package to media
This commit is contained in:
24
media/media.go
Normal file
24
media/media.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package media
|
||||
|
||||
type Book struct {
|
||||
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"`
|
||||
OnLoan string `json:"onLoan"`
|
||||
CoverURL string `json:"coverURL"`
|
||||
}
|
||||
|
||||
type Record struct {
|
||||
}
|
Reference in New Issue
Block a user