Initial commit - v1.1.9

This commit is contained in:
2026-02-22 12:03:04 +09:00
commit 27339dc7b7
180 changed files with 12908 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
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
)