commonMain.dk.cachet.carp.common.application.data.input.Sex.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.data.input
import dk.cachet.carp.common.application.data.Data
import kotlinx.serialization.*
import kotlin.js.JsExport
/**
* Holds the biological sex assigned at birth of a participant.
*/
@Serializable
@SerialName( CarpInputDataTypes.SEX_TYPE_NAME )
@JsExport
enum class Sex : Data
{
Male,
Female,
Intersex
}