namespace TransportMauiApp.Models; public sealed class TransportFlight { public int FlightId { get; set; } public TimeSpan Duration { get; set; } public int? TransportId { get; set; } public int? RouteId { get; set; } public string TransportName { get; set; } = string.Empty; public string RouteName { get; set; } = string.Empty; public override string ToString() { return $"{FlightId}: {Duration:hh\\:mm\\:ss}, {TransportName}, {RouteName}"; } }