cloudroam
2025-04-16 66a4a5c3aa78869a3c51e79f2a6a610c99016c24
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.example.firstapp.database.entity
 
import androidx.room.Entity
import androidx.room.PrimaryKey
 
@Entity(tableName = "reminders")
data class Reminder(
    @PrimaryKey(autoGenerate = true)
    val id: Long = 0,
    val categoryId: Int,
    val categoryName: String,
    val notificationMethod: String,
    val isEnabled: Boolean = true,
    val createdAt: Long = System.currentTimeMillis()