feat: improvements in structures
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
//Book data
|
||||
type Book struct {
|
||||
ID ID
|
||||
Title string
|
||||
Author string
|
||||
Pages int
|
||||
Quantity int
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
Reference in New Issue
Block a user