diff --git a/pkg/database/timetable.go b/pkg/database/timetable.go index fdf17b4..31968b2 100644 --- a/pkg/database/timetable.go +++ b/pkg/database/timetable.go @@ -11,6 +11,10 @@ type Stop struct { WttArrival string `json:"wttArrival,omitempty"` IsPublic bool `json:"isPublic,omitempty"` Tiploc string `json:"tiploc,omitempty"` + Pass string `json:"pass,omitempty"` + Platform string `json:"platform,omitempty"` + ArrLine string `json:"arrLine,omitempty"` + DepLine string `json:"depLine,omitempty"` } type Service struct { // Consider including catering, train class etc. here too. @@ -24,6 +28,10 @@ type Service struct { // Consider including catering, train class etc. here too. PlanSpeed int32 `json:"planSpeed,omitempty"` ScheduleStartDate time.Time `json:"scheduleStartDate,omitempty"` ScheduleEndDate time.Time `json:"scheduleEndDate,omitempty"` + FirstClass bool `json:"firstClass,omitempty"` + Catering bool `json:"catering,omitempty"` + CateringType []string `json:"cateringType,omitempty"` + Sleeper bool `json:"sleeper,omitempty"` DaysRun []string `json:"daysRun,omitempty"` Stops []Stop `json:"stops,omitempty"` }