feat: improvements in structures
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
//User data
|
||||
type User struct {
|
||||
ID ID
|
||||
Email string
|
||||
Password string
|
||||
FirstName string
|
||||
LastName string
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
Books []ID
|
||||
}
|
||||
Reference in New Issue
Block a user