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

commonMain.cccev.f2.requirement.domain.command.RequirementCreateCommandDTO.kt Maven / Gradle / Ivy

There is a newer version: 0.20.0
Show newest version
package cccev.f2.requirement.domain.command

import cccev.s2.concept.domain.InformationConceptId
import cccev.s2.evidence.type.domain.EvidenceTypeListId
import cccev.s2.framework.domain.FrameworkId
import cccev.s2.requirement.domain.RequirementId
import cccev.s2.requirement.domain.command.RequirementCreatedEvent
import f2.dsl.fnc.F2Function
import kotlinx.serialization.Serializable
import kotlin.js.JsExport
import kotlin.js.JsName

typealias RequirementCreateFunction = F2Function

@JsExport
@JsName("RequirementCreateCommandDTO")
interface RequirementCreateCommandDTO {
    val identifier: String?
    val kind: String
    val name: String?
    val description: String?
    val type: String?
    val isDerivedFrom: List
    val hasConcept: List
    val hasEvidenceTypeList: List
    val hasRequirement: List
    var hasQualifiedRelation: Map>
    val enablingCondition: String?
    val enablingConditionDependencies: List
    val required: Boolean
    val validatingCondition: String?
    val validatingConditionDependencies: List
    val order: Int?
    val properties: Map?
}

@Serializable
data class RequirementCreateCommandDTOBase(
    override val identifier: String? = null,
    override val kind: String,
    override val name: String? = null,
    override val description: String? = null,
    override val type: String? = null,
    override val isDerivedFrom: List = emptyList(),
    override val hasRequirement: List = emptyList(),
    override val hasConcept: List = emptyList(),
    override val hasEvidenceTypeList: List = emptyList(),
    override var hasQualifiedRelation: Map> = emptyMap(),
    override val enablingCondition: String?,
    override val enablingConditionDependencies: List,
    override val required: Boolean,
    override val validatingCondition: String?,
    override val validatingConditionDependencies: List,
    override val order: Int?,
    override val properties: Map?
): RequirementCreateCommandDTO

@JsExport
@JsName("RequirementCreatedEventDTO")
interface RequirementCreatedEventDTO: cccev.s2.requirement.domain.command.RequirementCreatedEventDTO




© 2015 - 2024 Weber Informatics LLC | Privacy Policy