Add timetable types

This commit is contained in:
Fred Boniface 2023-07-17 12:20:31 +01:00
parent 50d972a27a
commit d30d027571

28
pkg/database/timetable.go Normal file
View File

@ -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
}