Files
projet_gestion_commande/backend/gestion/models/redis.go
T
Xor290 901d013830
Backend - Build & Lint / build (push) Failing after 28m7s
Frontend Admin - EAS Build / build (push) Failing after 1h39m13s
Frontend Client - EAS Build / build (push) Failing after 1h38m12s
Frontend Web - Build & Lint / build (push) Failing after 10m56s
chore: build
2026-08-19 17:49:04 +02:00

22 lines
516 B
Go

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"`
}