mirror of
https://github.com/2martens/tsw-timetable.git
synced 2026-10-17 07:57:55 +02:00
Changed type of eva to Int
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ import java.time.Instant
|
||||
@Document
|
||||
data class BahnStation(
|
||||
@TextIndexed var name: String,
|
||||
@Indexed(unique = true) var eva: String,
|
||||
@Indexed(unique = true) var eva: Int?,
|
||||
var ds100: String,
|
||||
var db: Boolean
|
||||
) {
|
||||
|
||||
+2
-2
@@ -9,11 +9,11 @@ data class BahnStation(
|
||||
@field:XmlAttribute
|
||||
var name: String,
|
||||
@field:XmlAttribute
|
||||
var eva: String,
|
||||
var eva: Int?,
|
||||
@field:XmlAttribute
|
||||
var ds100: String,
|
||||
@field:XmlAttribute
|
||||
var db: Boolean
|
||||
) {
|
||||
constructor(): this("", "", "", true)
|
||||
constructor(): this("", null, "", true)
|
||||
}
|
||||
Reference in New Issue
Block a user