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

commonMain.city.smartb.im.organization.domain.model.OrganizationRef.kt Maven / Gradle / Ivy

There is a newer version: 0.14.2
Show newest version
package city.smartb.im.organization.domain.model

import kotlin.js.JsExport
import kotlin.js.JsName

@JsExport
@JsName("OrganizationRefDTO")
interface OrganizationRefDTO {
    val id: OrganizationId
    val name: String
    val roles: List
}

/**
 * Short representation of an organization.
 * @D2 model
 * @parent [city.smartb.im.organization.domain.D2OrganizationPage]
 * @order 30
 */
data class OrganizationRef(
    /**
     * Identifier of the organization.
     */
    override val id: OrganizationId,

    /**
     * Name of the organization.
     * @example [Organization.name]
     */
    override val name: String,

    /**
     * Assigned and effective roles of the organization.
     * @example [Organization.roles]
     */
    override val roles: List
): OrganizationRefDTO




© 2015 - 2024 Weber Informatics LLC | Privacy Policy