type NewBook struct {
Id int `json:"id"`
Title string `json:"title" validate:"required"`
Author string `json:"author" validate:"required"`
Pages int `json:"pages" validate:"required,gt=0"`
}
type UpdatedBook struct {
Id int `json:"id" validate:"required"`
Title string `json:"title" validate:"required"`
Author string `json:"author" validate:"required"`
Pages int `json:"pages" validate:"required,gt=0"`
}