-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModelPost.java
More file actions
112 lines (86 loc) · 2.32 KB
/
Copy pathModelPost.java
File metadata and controls
112 lines (86 loc) · 2.32 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
package com.codewithharry.firebase.models;
public class ModelPost {
//use same name as we gave while uploading the post
String pId, pTitle, pDescr, pLikes, pComments, pImage, pTime, uid, uEmail, uDp, uName;
public ModelPost() {
}
public ModelPost(String pId, String pTitle, String pDescr, String pLikes, String pComments, String pImage, String pTime, String uid, String uEmail, String uDp, String uName) {
this.pId = pId;
this.pTitle = pTitle;
this.pDescr = pDescr;
this.pLikes = pLikes;
this.pComments = pComments;
this.pImage = pImage;
this.pTime = pTime;
this.uid = uid;
this.uEmail = uEmail;
this.uDp = uDp;
this.uName = uName;
}
public String getpId() {
return pId;
}
public void setpId(String pId) {
this.pId = pId;
}
public String getpTitle() {
return pTitle;
}
public void setpTitle(String pTitle) {
this.pTitle = pTitle;
}
public String getpDescr() {
return pDescr;
}
public void setpDescr(String pDescr) {
this.pDescr = pDescr;
}
public String getpLikes() {
return pLikes;
}
public void setpLikes(String pLikes) {
this.pLikes = pLikes;
}
public String getpComments() {
return pComments;
}
public void setpComments(String pComments) {
this.pComments = pComments;
}
public String getpImage() {
return pImage;
}
public void setpImage(String pImage) {
this.pImage = pImage;
}
public String getpTime() {
return pTime;
}
public void setpTime(String pTime) {
this.pTime = pTime;
}
public String getUid() {
return uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public String getuEmail() {
return uEmail;
}
public void setuEmail(String uEmail) {
this.uEmail = uEmail;
}
public String getuDp() {
return uDp;
}
public void setuDp(String uDp) {
this.uDp = uDp;
}
public String getuName() {
return uName;
}
public void setuName(String uName) {
this.uName = uName;
}
}