Add link to author in bookform

This commit is contained in:
2026-02-03 18:59:48 +01:00
parent 160d7e304f
commit 453beec605
4 changed files with 13 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ package dto
type BookGet struct {
Title string `json:"title" binding:"required,max=300"`
Author string `json:"author" binding:"max=100"`
AuthorID uint `json:"authorId"`
ISBN string `json:"isbn"`
InventaireId string `json:"inventaireid"`
OpenLibraryId string `json:"openlibraryid"`