Skip to content
Snippets Groups Projects
Commit c51339cb authored by salih's avatar salih
Browse files

TaskEntity

parent afbfa635
No related branches found
No related tags found
No related merge requests found
...@@ -4,9 +4,8 @@ import androidx.room.Entity ...@@ -4,9 +4,8 @@ import androidx.room.Entity
import androidx.room.PrimaryKey import androidx.room.PrimaryKey
@Entity(tableName = "tasks") @Entity(tableName = "tasks")
data class Task( data class TaskEntity(
@PrimaryKey(autoGenerate = true) @PrimaryKey(autoGenerate = true) val id: Int = 0,
val id: Int = 0,
val description: String, val description: String,
val time: String, val time: String,
val isCompleted: Boolean val isCompleted: Boolean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment