-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathComment.java
More file actions
30 lines (22 loc) · 724 Bytes
/
Copy pathComment.java
File metadata and controls
30 lines (22 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.hossain.zakaria.firebasephotoapp.models;
public class Comment {
private String commentUserId, commentText;
private String commentTimeStamp;
public Comment() {
//empty constructor needed for retrieving data from fire-base
}
public Comment(String commentText, String commentUserId, String commentTimeStamp) {
this.commentText = commentText;
this.commentUserId = commentUserId;
this.commentTimeStamp = commentTimeStamp;
}
public String getCommentText() {
return commentText;
}
public String getCommentUserId() {
return commentUserId;
}
public String getCommentTimeStamp() {
return commentTimeStamp;
}
}