feat: Update entity types to include specific ID types and adjust DTO mappings
This commit is contained in:
@@ -3,7 +3,7 @@ package entities
|
||||
import "github.com/oklog/ulid/v2"
|
||||
|
||||
type Customer struct {
|
||||
ID ulid.ULID
|
||||
EntityBase
|
||||
Name string
|
||||
CompanyID int
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ package entities
|
||||
import "github.com/oklog/ulid/v2"
|
||||
|
||||
type Project struct {
|
||||
ID ulid.ULID
|
||||
EntityBase
|
||||
Name string
|
||||
CustomerID int
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user