mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
Setup adding/removing multiple timers
This commit is contained in:
@ -0,0 +1,16 @@
|
||||
package com.simplemobiletools.clock.models
|
||||
|
||||
import androidx.room.Entity
|
||||
import androidx.room.PrimaryKey
|
||||
|
||||
@Entity(tableName = "timers")
|
||||
data class Timer(
|
||||
@PrimaryKey(autoGenerate = true) val id: Long?,
|
||||
val seconds: Int,
|
||||
val state: TimerState,
|
||||
val vibrate: Boolean,
|
||||
val soundUri: String,
|
||||
val soundTitle: String,
|
||||
val label: String,
|
||||
val maxReminderSecs: String,
|
||||
)
|
Reference in New Issue
Block a user