feat: user domain & storage mapper
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package user
|
||||
|
||||
// Repo represents the user repository interface.
|
||||
type Repo interface{}
|
||||
|
||||
// Service represents the user service interface.(UseCases)
|
||||
type Service interface{}
|
||||
@@ -0,0 +1,18 @@
|
||||
package user
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
type User struct {
|
||||
ID uuid.UUID
|
||||
Name string
|
||||
LastName string
|
||||
PhoneNumber string
|
||||
NationalID string
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
DeletedAt *time.Time
|
||||
}
|
||||
Reference in New Issue
Block a user