From 1a281d8354622a3606360f9f9a7fe4bb7d6a2c3a Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期日, 27 四月 2025 13:22:26 +0800
Subject: [PATCH] fix 短信

---
 app/src/main/java/com/example/firstapp/database/entity/Reminder.kt |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/app/src/main/java/com/example/firstapp/database/entity/Reminder.kt b/app/src/main/java/com/example/firstapp/database/entity/Reminder.kt
index 256b45d..7a48d43 100644
--- a/app/src/main/java/com/example/firstapp/database/entity/Reminder.kt
+++ b/app/src/main/java/com/example/firstapp/database/entity/Reminder.kt
@@ -3,11 +3,13 @@
 import androidx.room.Entity
 import androidx.room.PrimaryKey
 
-
 @Entity(tableName = "reminders")
 data class Reminder(
-    @PrimaryKey(autoGenerate = true) val id: Long = 0,
-    val type: String,
-    val nickname: String,
-    val keywords: String
+    @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()
 ) 
\ No newline at end of file

--
Gitblit v1.9.3