-
Notifications
You must be signed in to change notification settings - Fork 0
/
Message.cs
30 lines (27 loc) · 965 Bytes
/
Message.cs
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
namespace $safeprojectname$
{
class Message
{
private string text;
private string sender;
private string reciever;
private string time;
private bool isSeen;
public string Text { get { return text; } set { text = value; } }
public string Sender { get { return sender; } set { sender = value; } }
public string Reciever { get { return reciever; } set { reciever = value; } }
public string Time { get { return time; } set { time = value; } }
public bool IsSeen { get { return isSeen; } set { isSeen = value; } }
public Message(string sender, string reciever, string text, string time,bool isSeen)
{
this.sender = sender;
this.reciever = reciever;
this.text = text;
this.time = time;
this.isSeen = isSeen;
}
public Message()
{
}
}
}