commonMain.dk.cachet.carp.common.application.users.ParticipantRole.kt Maven / Gradle / Ivy
Go to download
Helper classes and base types relied upon by all subsystems. This library does not contain any domain logic.
The newest version!
package dk.cachet.carp.common.application.users
import kotlinx.serialization.*
import kotlin.js.JsExport
/**
* Describes a participant playing a [role] in a study, and whether this role [isOptional].
*/
@Serializable
@JsExport
data class ParticipantRole( val role: String, val isOptional: Boolean )