package com.example.notesai.data.model

import android.annotation.SuppressLint
//noinspection UnsafeOptInUsageError
import kotlinx.serialization.Serializable
import java.util.UUID

@SuppressLint("UnsafeOptInUsageError")
@Serializable
data class Note(
    val id: String = UUID.randomUUID().toString(),
    val categoryId: String,
    val title: String,
    val description: String = "", // Field baru untuk preview di NoteCard
    val content: String = "", // Konten lengkap untuk EditableFullScreenNoteView
    val timestamp: Long = System.currentTimeMillis(),
    val isPinned: Boolean = false,
    val isArchived: Boolean = false,
    val isDeleted: Boolean = false
)