Changed type of eva to Int

This commit is contained in:
2023-09-24 09:05:13 +02:00
parent bcbb935ac1
commit bf5fd38410
2 changed files with 3 additions and 3 deletions
@@ -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
) {
@@ -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)
}