diff options
Diffstat (limited to 'src/Costasdev.Busurbano.ServiceViewer/Views/Services/ServicesInDay.cshtml.cs')
| -rw-r--r-- | src/Costasdev.Busurbano.ServiceViewer/Views/Services/ServicesInDay.cshtml.cs | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/Costasdev.Busurbano.ServiceViewer/Views/Services/ServicesInDay.cshtml.cs b/src/Costasdev.Busurbano.ServiceViewer/Views/Services/ServicesInDay.cshtml.cs deleted file mode 100644 index b0c57c3..0000000 --- a/src/Costasdev.Busurbano.ServiceViewer/Views/Services/ServicesInDay.cshtml.cs +++ /dev/null @@ -1,39 +0,0 @@ -using Costasdev.ServiceViewer.Data.Gtfs; - -namespace Costasdev.ServiceViewer.Views.Services; - -public class ServiceInDayModel -{ - public List<ServicesInDayItem> Items { get; set; } = []; - public DateOnly Date { get; set; } -} - -public class ServicesInDayItem -{ - public string ServiceId { get; set; } - public string ServiceName { get; set; } - public List<GtfsTrip> Trips { get; set; } - public List<TripGroup> TripGroups { get; set; } - - public string ShiftStart { get; set; } - public string ShiftEnd { get; set; } - - public ServicesInDayItem( - string serviceId, - string serviceName, - List<GtfsTrip> trips, - List<TripGroup> tripGroups, - string shiftStart, - string shiftEnd - ) { - ServiceId = serviceId; - ServiceName = serviceName; - Trips = trips; - TripGroups = tripGroups; - - ShiftStart = shiftStart; - ShiftEnd = shiftEnd; - } -} - -public record TripGroup(GtfsRoute route, int count); |
