commonMain.zakadabar.lib.content.data.AttachedBlobBo.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of content-jvm Show documentation
Show all versions of content-jvm Show documentation
Kotlin/Ktor based full-stack platform
/*
* 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.lib.blobs.data.BlobBo
import zakadabar.lib.blobs.data.BlobBoCompanion
import zakadabar.core.data.EntityId
/**
* Blob (thumbnail, images, attachments) that belongs to a content.
*/
@Serializable
class AttachedBlobBo(
override var id: EntityId,
override var reference: EntityId?,
override var disposition: String,
override var name: String,
override var mimeType: String,
override var size: Long
) : BlobBo {
companion object : BlobBoCompanion(ContentBo.boNamespace)
override fun getBoNamespace() = boNamespace
override fun comm() = comm
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy