package com.sduduzog.slimlauncher.data

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import java.io.Serializable


@Entity(tableName = "notes")
data class Note(
        @field:ColumnInfo(name = "body")
        var body: String,
        @field:ColumnInfo(name = "edited")
        var edited: Long
) : Serializable {
    @field:ColumnInfo(name = "id")
    @PrimaryKey(autoGenerate = true)
    var id: Int? = null
    @field:ColumnInfo(name = "title")
    var title: String? = null
}