Created
August 13, 2020 20:42
-
-
Save beyondxscratch/b10c21782bb2812caf10a4d3e44eb865 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class Search( | |
val id: UUID = randomUUID(), | |
val criteria: Criteria, | |
val spaceTrains: SpaceTrains, | |
val selection: Selection = Selection()) | |
data class SpaceTrain( | |
val number: String, | |
val bound: Bound, | |
val originId: String, | |
val destinationId: String, | |
val schedule: Schedule, | |
val fares: Fares, | |
val compatibleSpaceTrains: Set<String> = emptySet()) | |
typealias SpaceTrains = List<SpaceTrain> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment