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