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