mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-20 10:30:07 +01:00
Added serializable to the Note entity
This commit is contained in:
parent
6b44179ae0
commit
7b9c05f32d
@ -9,8 +9,10 @@ import androidx.room.PrimaryKey
|
||||
import com.simplemobiletools.commons.extensions.isBiometricIdAvailable
|
||||
import com.simplemobiletools.commons.helpers.PROTECTION_FINGERPRINT
|
||||
import com.simplemobiletools.commons.helpers.PROTECTION_NONE
|
||||
import kotlinx.serialization.Serializable
|
||||
import java.io.File
|
||||
|
||||
@Serializable
|
||||
@Entity(tableName = "notes", indices = [(Index(value = ["id"], unique = true))])
|
||||
data class Note(
|
||||
@PrimaryKey(autoGenerate = true) var id: Long?,
|
||||
|
Loading…
x
Reference in New Issue
Block a user