diff --git a/pkg/database/timetable.go b/pkg/database/timetable.go new file mode 100644 index 0000000..fd2ff1c --- /dev/null +++ b/pkg/database/timetable.go @@ -0,0 +1,28 @@ +package database + +import ( + "time" +) + +type Stop struct { + publicDeparture *string + wttDeparture *string + publicArrival *string + wttArrival *string + isPublic bool + tiploc string +} + +type Service struct { + transactionType string + stpIndicator string + operator string + trainUid string + headcode string + powerType string + planSpeed string + scheduleStartDate time.Time + scheduleEndDate time.Time + daysRun []string + stops []Stop +} \ No newline at end of file