mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
add a Note model
This commit is contained in:
@ -0,0 +1,25 @@
|
|||||||
|
package com.simplemobiletools.notes.models;
|
||||||
|
|
||||||
|
public class Note {
|
||||||
|
private int mId;
|
||||||
|
private String mName;
|
||||||
|
private String mText;
|
||||||
|
|
||||||
|
public Note(int id, String name, String text) {
|
||||||
|
mId = id;
|
||||||
|
mName = name;
|
||||||
|
mText = text;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getmId() {
|
||||||
|
return mId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getmName() {
|
||||||
|
return mName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getmText() {
|
||||||
|
return mText;
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user