update translations

This commit is contained in:
InsanusMokrassar 2019-03-15 10:58:15 +08:00
parent c0fe1f4ee9
commit 9805d66af9

View File

@ -1,13 +1,18 @@
package com.github.insanusmokrassar.PsychomatrixBase.utils.CeilDescriptions.models package com.github.insanusmokrassar.PsychomatrixBase.utils.CeilDescriptions.models
import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.CeilInfo import com.github.insanusmokrassar.PsychomatrixBase.domain.entities.CeilInfo
import kotlinx.serialization.Optional
import kotlinx.serialization.Serializable import kotlinx.serialization.Serializable
@Serializable @Serializable
data class CeilInfoConfig( data class CeilInfoConfig(
@Optional
val title: String = "", val title: String = "",
@Optional
val description: String = "", val description: String = "",
@Optional
val note: String? = null, val note: String? = null,
@Optional
val characteristics: List<CeilCharacteristic> = emptyList() val characteristics: List<CeilCharacteristic> = emptyList()
) { ) {
fun toCeilDescription(countOfCharacteristic: Int): CeilInfo { fun toCeilDescription(countOfCharacteristic: Int): CeilInfo {