28 lines
446 B
Go
28 lines
446 B
Go
|
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
|
||
|
}
|