15 lines
442 B
Kotlin
15 lines
442 B
Kotlin
package de.twomartens.timetable.model.db
|
|
|
|
import de.twomartens.timetable.model.common.DepotId
|
|
import de.twomartens.timetable.model.dto.Station
|
|
import de.twomartens.timetable.model.dto.Track
|
|
import de.twomartens.timetable.types.NonEmptyString
|
|
|
|
data class Depot(
|
|
val id: DepotId,
|
|
val name: NonEmptyString,
|
|
val nearestStation: Station,
|
|
val tracks: List<Track>,
|
|
val travelDurations: List<TravelDuration>
|
|
)
|