From 9805d66af9890738c3b8af86e45a3aca56f01c29 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 15 Mar 2019 10:58:15 +0800 Subject: [PATCH] update translations --- .../utils/CeilDescriptions/models/CeilInfoConfig.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/utils/CeilDescriptions/models/CeilInfoConfig.kt b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/utils/CeilDescriptions/models/CeilInfoConfig.kt index 8fb7775..717698f 100644 --- a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/utils/CeilDescriptions/models/CeilInfoConfig.kt +++ b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/utils/CeilDescriptions/models/CeilInfoConfig.kt @@ -1,13 +1,18 @@ package com.github.insanusmokrassar.PsychomatrixBase.utils.CeilDescriptions.models import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.CeilInfo +import kotlinx.serialization.Optional import kotlinx.serialization.Serializable @Serializable data class CeilInfoConfig( + @Optional val title: String = "", + @Optional val description: String = "", + @Optional val note: String? = null, + @Optional val characteristics: List = emptyList() ) { fun toCeilDescription(countOfCharacteristic: Int): CeilInfo {