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