chore: add ansible backend docker frontend-prep

This commit is contained in:
2026-01-21 13:05:13 +01:00
parent 5a280b6b01
commit 943fe4de7d
14930 changed files with 2341433 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
package models
import "time"
type CommandQueue struct {
CommandID int
Username string
TotalPrice float64
Address string
Lat float64 // ajouter
Lng float64 // ajouter
CreatedAt time.Time
EstimatedETA int
}
type DeliveryPersonStatus struct {
Username string `json:"username"`
Status string `json:"status"` // "available", "busy", "offline"
CurrentCommand int `json:"current_command,omitempty"`
LastUpdate time.Time `json:"last_update"`
}
type StockReservation struct {
ProductID int `json:"product_id"`
Quantity int `json:"quantity"`
Username string `json:"username"`
ExpiresAt time.Time `json:"expires_at"`
CommandID int `json:"command_id"`
}