feat: domain finished
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package book
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/eminetto/clean-architecture-go-v2/domain/entity"
|
||||
)
|
||||
|
||||
//Book data
|
||||
type Book struct {
|
||||
ID entity.ID
|
||||
Title string
|
||||
Author string
|
||||
Pages int
|
||||
Quantity int
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
Reference in New Issue
Block a user