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

commonMain.cccev.f2.requirement.domain.command.CriterionCreateCommandDTO.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 cccev.s2.requirement.domain.model.RequirementKind
import f2.dsl.fnc.F2Function
import kotlinx.serialization.Serializable
import kotlin.js.JsExport
import kotlin.js.JsName

typealias CriterionCreateFunction = F2Function

@JsExport
@JsName("CriterionCreateCommandDTO")
interface CriterionCreateCommandDTO: RequirementCreateCommandDTO

@Serializable
data class CriterionCreateCommandDTOBase(
    override val identifier: String? = null,
    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?
): CriterionCreateCommandDTO{
    override val kind: String = RequirementKind.CRITERION.name
}

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy