1.2
tj
2025-04-11 27bbd0435881e408f267c99e6a253d2e17873bcc
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()