commonMain.zakadabar.lib.content.data.TextBlockBo.kt Maven / Gradle / Ivy
/*
* Copyright © 2020-2021, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package zakadabar.lib.content.data
import kotlinx.serialization.Serializable
import zakadabar.core.data.BaseBo
import zakadabar.core.schema.BoSchema
/**
* A text block with a stereotype for a content.
*/
@Serializable
class TextBlockBo(
var stereotype : String,
var value : String
) : BaseBo {
override fun schema() = BoSchema {
+ ::stereotype max 100
+ ::value
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy