All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.zakadabar.lib.content.data.AttachedBlobBo.kt Maven / Gradle / Ivy

There is a newer version: 2023.4.20
Show newest version
/*
 * 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