first commit
This commit is contained in:
10
models/book.go
Normal file
10
models/book.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user