Add isbn
This commit is contained in:
@@ -5,6 +5,7 @@ import "gorm.io/gorm"
|
||||
type Book struct {
|
||||
gorm.Model
|
||||
Title string `json:"title" gorm:"not null"`
|
||||
ISBN string `json:"isbn"`
|
||||
Author string `json:"author"`
|
||||
Summary string `json:"summary"`
|
||||
AddedBy User
|
||||
|
||||
Reference in New Issue
Block a user