package com.example.jetpackdb.data.local

import androidx.room.Entity
import androidx.room.PrimaryKey
import com.example.jetpackdb.data.local.MyNoteEntity.Companion.TABLE_NAME

@Entity(tableName = TABLE_NAME)
data class MyNoteEntity(
	@PrimaryKey(autoGenerate = true)
	val id: Long,
	val comment: String,
	val date: String
)
{
	companion object {
		const val TABLE_NAME = "note"
		const val ID = "id"
	}
}