Update timetable database type
This commit is contained in:
parent
4df6f0456e
commit
cf2b2d98e8
@ -5,24 +5,24 @@ import (
|
||||
)
|
||||
|
||||
type Stop struct {
|
||||
PublicDeparture *string `json:"publicDeparture"`
|
||||
WttDeparture *string `json:"wttDeparture"`
|
||||
PublicArrival *string `json:"publicArrival"`
|
||||
WttArrival *string `json:"wttArrival"`
|
||||
IsPublic bool `json:"isPublic"`
|
||||
Tiploc string `json:"tiploc"`
|
||||
PublicDeparture string `json:"publicDeparture,omitempty"`
|
||||
WttDeparture string `json:"wttDeparture,omitempty"`
|
||||
PublicArrival string `json:"publicArrival,omitempty"`
|
||||
WttArrival string `json:"wttArrival,omitempty"`
|
||||
IsPublic bool `json:"isPublic,omitempty"`
|
||||
Tiploc string `json:"tiploc,omitempty"`
|
||||
}
|
||||
|
||||
type Service struct {
|
||||
TransactionType string `json:"transactionType"`
|
||||
StpIndicator string `json:"stpIndicator"`
|
||||
Operator string `json:"operator"`
|
||||
TrainUid string `json:"trainUid"`
|
||||
Headcode string `json:"headcode"`
|
||||
PowerType string `json:"powerType"`
|
||||
PlanSpeed int32 `json:"planSpeed"`
|
||||
ScheduleStartDate time.Time `json:"scheduleStartDate"`
|
||||
ScheduleEndDate time.Time `json:"scheduleEndDate"`
|
||||
DaysRun []string `json:"daysRun"`
|
||||
Stops []Stop `json:"stops"`
|
||||
TransactionType string `json:"transactionType,omitempty"`
|
||||
StpIndicator string `json:"stpIndicator,omitempty"`
|
||||
Operator string `json:"operator,omitempty"`
|
||||
TrainUid string `json:"trainUid,omitempty"`
|
||||
Headcode string `json:"headcode,omitempty"`
|
||||
PowerType string `json:"powerType,omitempty"`
|
||||
PlanSpeed int32 `json:"planSpeed,omitempty"`
|
||||
ScheduleStartDate time.Time `json:"scheduleStartDate,omitempty"`
|
||||
ScheduleEndDate time.Time `json:"scheduleEndDate,omitempty"`
|
||||
DaysRun []string `json:"daysRun,omitempty"`
|
||||
Stops []Stop `json:"stops,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user