package com.example.todokotlin.data

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "todos")
data class Todo(
    @PrimaryKey(autoGenerate = true)
    val id: Long = 0,
    val title: String,
    val completed: Boolean = false,
    val category: String = "Personal",
    val priority: String = "Medium",
    val createdAt: Long = System.currentTimeMillis()
)
