Add existing book fields in "create book" form
This commit is contained in:
@@ -11,9 +11,14 @@ type BookSearchGetParam struct {
|
||||
}
|
||||
|
||||
type BookPostCreate struct {
|
||||
Title string `json:"title" binding:"required,max=300"`
|
||||
Author string `json:"author" binding:"max=100"`
|
||||
CoverID uint `json:"coverId"`
|
||||
Title string `json:"title" binding:"required,max=300"`
|
||||
Author string `json:"author" binding:"max=100"`
|
||||
ISBN string `json:"isbn" binding:"max=18"`
|
||||
InventaireID string `json:"inventaireid" binding:"max=50"`
|
||||
OpenLibraryId string `json:"openlibraryid" binding:"max=50"`
|
||||
ShortDescription string `json:"shortdescription" binding:"max=300"`
|
||||
Summary string `json:"summary"`
|
||||
CoverID uint `json:"coverId"`
|
||||
}
|
||||
|
||||
type BookPostImport struct {
|
||||
|
||||
Reference in New Issue
Block a user