Last active
April 8, 2017 12:59
-
-
Save ramadani/a751fb12ff422c3fdf55bf9045934103 to your computer and use it in GitHub Desktop.
Simple Android App using Firebase Realtime Database - Java Object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@IgnoreExtraProperties | |
public class Note { | |
private String uid; | |
private String title; | |
private String content; | |
public Note() { | |
} | |
public Note(String uid, String title, String content) { | |
this.uid = uid; | |
this.title = title; | |
this.content = content; | |
} | |
public String getUid() { | |
return uid; | |
} | |
public String getTitle() { | |
return title; | |
} | |
public String getContent() { | |
return content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment