namespace Application.DTOs.RobotDTOs
{
///
/// DTO for updating order delivery phase from robot/drone
///
public class OrderPhaseUpdateDTO
{
///
/// Current phase of delivery
/// Possible values: FLIGHT_TO_PICKUP, AT_PICKUP, LOADING, FLIGHT_TO_DROPOFF,
/// AT_DROPOFF, UNLOADING, PACKAGE_DELIVERED, FLIGHT_TO_CHARGING
///
public string Phase { get; set; } = string.Empty;
///
/// Current latitude of robot
///
public double? Latitude { get; set; }
///
/// Current longitude of robot
///
public double? Longitude { get; set; }
///
/// Timestamp of phase update
///
public DateTime Timestamp { get; set; } = DateTime.UtcNow;
///
/// Optional message/details about the phase
///
public string? Message { get; set; }
}
}