feat: refactoring

This commit is contained in:
Elton Minetto
2020-06-30 11:16:55 -03:00
parent 3cd31fe900
commit 74d7384f47
20 changed files with 85 additions and 94 deletions
+19
View File
@@ -0,0 +1,19 @@
package user
import (
"time"
"github.com/eminetto/clean-architecture-go-v2/domain/entity"
)
//User data
type User struct {
ID entity.ID
Email string
Password string
FirstName string
LastName string
CreatedAt time.Time
UpdatedAt time.Time
Books []entity.ID
}