-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModelUser.java
More file actions
94 lines (72 loc) · 1.98 KB
/
Copy pathModelUser.java
File metadata and controls
94 lines (72 loc) · 1.98 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
package com.codewithharry.firebase.models;
public class ModelUser {
//use same name as in firebase database
String name, email, search, phone, image, cover,uid, typingTo, onlineStatus;
public ModelUser() {
}
public ModelUser(String name, String email, String search, String phone, String image, String cover, String uid, String typingTo, String onlineStatus) {
this.name = name;
this.email = email;
this.search = search;
this.phone = phone;
this.image = image;
this.cover = cover;
this.uid = uid;
this.typingTo = typingTo;
this.onlineStatus = onlineStatus;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getSearch() {
return search;
}
public void setSearch(String search) {
this.search = search;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getImage() {
return image;
}
public void setImage(String image) {
this.image = image;
}
public String getCover() {
return cover;
}
public void setCover(String cover) {
this.cover = cover;
}
public String getUid() {
return uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public String getTypingTo() {
return typingTo;
}
public void setTypingTo(String typingTo) {
this.typingTo = typingTo;
}
public String getOnlineStatus() {
return onlineStatus;
}
public void setOnlineStatus(String onlineStatus) {
this.onlineStatus = onlineStatus;
}
}