mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
add a new field, note type
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
package com.simplemobiletools.notes.models
|
||||
|
||||
class Note(var id: Int, var title: String, var value: String) {
|
||||
class Note(var id: Int, var title: String, var value: String, val type: Int) {
|
||||
|
||||
override fun equals(other: Any?) = other != null && this.toString() == other.toString()
|
||||
|
||||
override fun toString() = "Note {id=$id, title=$title, value=$value}"
|
||||
override fun toString() = "Note {id=$id, title=$title, value=$value, type=$type}"
|
||||
}
|
||||
|
Reference in New Issue
Block a user