package com.example.elva.data.models.health

import java.time.LocalDate

data class Period(
    val id: Long = 0,
    val startDate: LocalDate,
    val endDate: LocalDate,
    val flow: FlowIntensity = FlowIntensity.MEDIUM,
    val symptoms: List<Symptom> = emptyList(),
    val notes: String = ""
)

enum class FlowIntensity {
    LIGHT, MEDIUM, HEAVY
}

enum class Symptom {
    CRAMPS, HEADACHE, MOOD_SWINGS, BLOATING, FATIGUE, BACK_PAIN, NAUSEA
}

data class CycleStats(
    val averageCycleLength: Int,
    val averagePeriodLength: Int,
    val nextPeriodStart: LocalDate?,
    val nextOvulation: LocalDate?,
    val fertileWindowStart: LocalDate?,
    val fertileWindowEnd: LocalDate?
)

