mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-12 22:50:07 +01:00
add a Note model
This commit is contained in:
parent
ade79264c7
commit
c321f0dba3
@ -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;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user