package com.example.shiftalarm

import androidx.room.*

@Entity(tableName = "shift_overrides", primaryKeys = ["factory", "team", "date"])
data class ShiftOverride(
    val factory: String,
    val team: String,
    val date: String, // YYYY-MM-DD
    val shift: String
)

@Entity(tableName = "daily_memos")
data class DailyMemo(
    @PrimaryKey
    val date: String, // YYYY-MM-DD
    val content: String
)

@Entity(tableName = "custom_alarms")
data class CustomAlarm(
    @PrimaryKey(autoGenerate = true)
    val id: Int = 0,
    val time: String, // HH:MM
    val shiftType: String, // 주간, 석간, 야간 ... 기타
    val isEnabled: Boolean = true,
    val soundUri: String? = null,
    val snoozeInterval: Int = 5,
    val snoozeRepeat: Int = 3
)
