Changed name

This commit is contained in:
2023-10-26 20:54:07 +02:00
parent ec882f7fd9
commit 54a075b7e8
@@ -1,9 +1,9 @@
package de.twomartens.timetable.types
@JvmInline
value class NonEmptyString(val name: String) {
value class NonEmptyString(val value: String) {
init {
require(name.isNotBlank()) {
require(value.isNotBlank()) {
"Name must not be blank"
}
}