cloudroam
2025-04-10 5fc9567cfa6b6beee4f52a9f835f304865d693e1
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()