Expand database Service document
This commit is contained in:
parent
7dafca9504
commit
e58d7d1d9a
@ -11,6 +11,10 @@ type Stop struct {
|
||||
WttArrival string `json:"wttArrival,omitempty"`
|
||||
IsPublic bool `json:"isPublic,omitempty"`
|
||||
Tiploc string `json:"tiploc,omitempty"`
|
||||
Pass string `json:"pass,omitempty"`
|
||||
Platform string `json:"platform,omitempty"`
|
||||
ArrLine string `json:"arrLine,omitempty"`
|
||||
DepLine string `json:"depLine,omitempty"`
|
||||
}
|
||||
|
||||
type Service struct { // Consider including catering, train class etc. here too.
|
||||
@ -24,6 +28,10 @@ type Service struct { // Consider including catering, train class etc. here too.
|
||||
PlanSpeed int32 `json:"planSpeed,omitempty"`
|
||||
ScheduleStartDate time.Time `json:"scheduleStartDate,omitempty"`
|
||||
ScheduleEndDate time.Time `json:"scheduleEndDate,omitempty"`
|
||||
FirstClass bool `json:"firstClass,omitempty"`
|
||||
Catering bool `json:"catering,omitempty"`
|
||||
CateringType []string `json:"cateringType,omitempty"`
|
||||
Sleeper bool `json:"sleeper,omitempty"`
|
||||
DaysRun []string `json:"daysRun,omitempty"`
|
||||
Stops []Stop `json:"stops,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user