Add timetable types
This commit is contained in:
parent
50d972a27a
commit
d30d027571
28
pkg/database/timetable.go
Normal file
28
pkg/database/timetable.go
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user