2023-07-17 12:20:31 +01:00
|
|
|
package database
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Stop struct {
|
2023-07-17 12:36:41 +01:00
|
|
|
PublicDeparture *string
|
|
|
|
WttDeparture *string
|
|
|
|
PublicArrival *string
|
|
|
|
WttArrival *string
|
|
|
|
IsPublic bool
|
|
|
|
Tiploc string
|
2023-07-17 12:20:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
type Service struct {
|
2023-07-17 12:36:41 +01:00
|
|
|
TransactionType string
|
|
|
|
StpIndicator string
|
|
|
|
Operator string
|
|
|
|
TrainUid string
|
|
|
|
Headcode string
|
|
|
|
PowerType string
|
|
|
|
PlanSpeed string
|
|
|
|
ScheduleStartDate time.Time
|
|
|
|
ScheduleEndDate time.Time
|
|
|
|
DaysRun []string
|
|
|
|
Stops []Stop
|
2023-07-17 12:20:31 +01:00
|
|
|
}
|