v1.0.0 - ShiftRing 정식 첫 릴리즈\

This commit is contained in:
sanjeok77
2026-08-14 09:15:15 +09:00
commit 34c19ef6b0
217 changed files with 15517 additions and 0 deletions
@@ -0,0 +1,40 @@
package com.example.shiftalarm
import androidx.room.Entity
import androidx.room.PrimaryKey
@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
)
@Entity(tableName = "annual_leave")
data class AnnualLeave(
@PrimaryKey
val id: Int = 1, // Single row for app-wide annual leave
val totalDays: Float, // 총 연차 (1~25)
val remainingDays: Float, // 남은 연차
val updatedAt: Long = System.currentTimeMillis()
)