added manager, driver, order, route, vehicle, warehouse endpoints,models and migrations.
This commit is contained in:
10
internal/models/manager.go
Normal file
10
internal/models/manager.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package models
|
||||
|
||||
import "github.com/google/uuid"
|
||||
|
||||
type Manager struct {
|
||||
ID uuid.UUID `db:"id"`
|
||||
UserID uuid.UUID `db:"user_id"`
|
||||
WarehouseID *uuid.UUID `db:"warehouse_id"`
|
||||
Slug string `db:"slug"`
|
||||
}
|
||||
Reference in New Issue
Block a user