Add PIS and ReasonCode types
This commit is contained in:
8
pkg/database/pis.go
Normal file
8
pkg/database/pis.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package database
|
||||
|
||||
type PIS struct {
|
||||
Code string `json:"code"`
|
||||
Stops []string `json:"stops"`
|
||||
Tiplocs []string `json:"tiplocs"`
|
||||
Operator string `json:"operator"`
|
||||
}
|
||||
7
pkg/database/reasonCodes.go
Normal file
7
pkg/database/reasonCodes.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package database
|
||||
|
||||
type ReasonCode struct {
|
||||
Code string `json:"code"`
|
||||
Late string `json:"lateReason"`
|
||||
Cancel string `json:"cancReason"`
|
||||
}
|
||||
Reference in New Issue
Block a user