first commit

This commit is contained in:
2024-12-09 19:52:07 -05:00
commit e092b0d172
7 changed files with 214 additions and 0 deletions

10
models/book.go Normal file
View File

@@ -0,0 +1,10 @@
// models/book.go
package models
type Book struct {
ID uint `json:"id" gorm:"primaryKey"`
ISBN string `json:"isbn"`
Title string `json:"title"`
Author string `json:"author"`
// Add other fields as necessary
}