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