timetable/module-bahnApi/src/main/kotlin/de/twomartens/timetable/bahnApi/repository/BahnStationRepository.kt

11 lines
379 B
Kotlin

package de.twomartens.timetable.bahnApi.repository
import de.twomartens.timetable.bahnApi.model.Eva
import de.twomartens.timetable.bahnApi.model.db.BahnStation
import org.bson.types.ObjectId
import org.springframework.data.mongodb.repository.MongoRepository
interface BahnStationRepository : MongoRepository<BahnStation, ObjectId> {
fun findByEva(eva: Eva): BahnStation?
}