namespace Enmarcha.Backend.Types.Transit; public class RouteDto { public required string Id { get; set; } public string? ShortName { get; set; } public string? LongName { get; set; } public string? Color { get; set; } public string? TextColor { get; set; } public int? SortOrder { get; set; } public string? AgencyName { get; set; } public string? AgencyId { get; set; } public int TripCount { get; set; } } public class RouteDetailsDto { public string? ShortName { get; set; } public string? LongName { get; set; } public string? Color { get; set; } public string? TextColor { get; set; } public string? AgencyName { get; set; } public string? AgencyId { get; set; } public List Patterns { get; set; } = []; } public class PatternDto { public required string Id { get; set; } public string? Name { get; set; } public string? Headsign { get; set; } public int DirectionId { get; set; } public string? Code { get; set; } public string? SemanticHash { get; set; } public int TripCount { get; set; } public List>? Geometry { get; set; } public List Stops { get; set; } = []; } public class PatternStopDto { public required string Id { get; set; } public string? Code { get; set; } public required string Name { get; set; } public double Lat { get; set; } public double Lon { get; set; } public List ScheduledDepartures { get; set; } = []; public string? PickupType { get; set; } public string? DropOffType { get; set; } }