Subversion Repositories SmartDukaan

Rev

Rev 21855 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21855 Rev 25302
Line 1... Line 1...
1
package com.spice.profitmandi.web.res;
1
package com.spice.profitmandi.web.res;
2
 
2
 
-
 
3
import java.time.LocalDateTime;
-
 
4
 
3
public class Notification {
5
public class Notification {
4
		    private String cid;
6
	private String cid;
5
		    private String title;
7
	private String title;
6
		    private String type;
8
	private String type;
7
		    private String message;
9
	private String message;
8
		    private String notification_long_text;
10
	private String notification_long_text;
9
		    private String url;
11
	private String url;
10
		    private String status;
12
	private String status;
11
		    private boolean seen;
13
	private boolean seen;
12
		    private long created;
14
	private long created;
13
		    private boolean expired;
15
	private boolean expired;
-
 
16
 
14
			public String getCid() {
17
	public String getCid() {
15
				return cid;
18
		return cid;
16
			}
19
	}
-
 
20
 
17
			public void setCid(String cid) {
21
	public void setCid(String cid) {
18
				this.cid = cid;
22
		this.cid = cid;
19
			}
23
	}
-
 
24
 
20
			public String getTitle() {
25
	public String getTitle() {
21
				return title;
26
		return title;
22
			}
27
	}
-
 
28
 
23
			public void setTitle(String title) {
29
	public void setTitle(String title) {
24
				this.title = title;
30
		this.title = title;
25
			}
31
	}
-
 
32
 
26
			public String getType() {
33
	public String getType() {
27
				return type;
34
		return type;
28
			}
35
	}
-
 
36
 
29
			public void setType(String type) {
37
	public void setType(String type) {
30
				this.type = type;
38
		this.type = type;
31
			}
39
	}
-
 
40
 
32
			public String getMessage() {
41
	public String getMessage() {
33
				return message;
42
		return message;
34
			}
43
	}
-
 
44
 
35
			public void setMessage(String message) {
45
	public void setMessage(String message) {
36
				this.message = message;
46
		this.message = message;
37
			}
47
	}
-
 
48
 
38
			public String getNotification_long_text() {
49
	public String getNotification_long_text() {
39
				return notification_long_text;
50
		return notification_long_text;
40
			}
51
	}
-
 
52
 
41
			public void setNotification_long_text(String notification_long_text) {
53
	public void setNotification_long_text(String notification_long_text) {
42
				this.notification_long_text = notification_long_text;
54
		this.notification_long_text = notification_long_text;
43
			}
55
	}
-
 
56
 
44
			public String getUrl() {
57
	public String getUrl() {
45
				return url;
58
		return url;
46
			}
59
	}
-
 
60
 
47
			public void setUrl(String url) {
61
	public void setUrl(String url) {
48
				this.url = url;
62
		this.url = url;
49
			}
63
	}
-
 
64
 
50
			public String getStatus() {
65
	public String getStatus() {
51
				return status;
66
		return status;
52
			}
67
	}
-
 
68
 
53
			public void setStatus(String status) {
69
	public void setStatus(String status) {
54
				this.status = status;
70
		this.status = status;
55
			}
-
 
56
		
71
	}
57
 
72
 
58
			public boolean isExpired() {
73
	public boolean isExpired() {
59
				return expired;
74
		return expired;
60
			}
75
	}
-
 
76
 
61
			public void setExpired(boolean expired) {
77
	public void setExpired(boolean expired) {
62
				this.expired = expired;
78
		this.expired = expired;
63
			}
79
	}
64
			
-
 
65
			
80
 
66
			public boolean isSeen() {
81
	public boolean isSeen() {
67
				return seen;
82
		return seen;
68
			}
83
	}
-
 
84
 
69
			public void setSeen(boolean seen) {
85
	public void setSeen(boolean seen) {
70
				this.seen = seen;
86
		this.seen = seen;
71
			}
87
	}
-
 
88
 
72
			public long getCreated() {
89
	public long getCreated() {
73
				return created;
90
		return created;
74
			}
91
	}
-
 
92
 
75
			public void setCreated(long created) {
93
	public void setCreated(long created) {
76
				this.created = created;
94
		this.created = created;
77
			}
95
	}
-
 
96
 
78
			@Override
97
	@Override
79
			public String toString() {
98
	public String toString() {
80
				return "Notification [cid=" + cid + ", title=" + title + ", type=" + type + ", message=" + message
99
		return "Notification [cid=" + cid + ", title=" + title + ", type=" + type + ", message=" + message
81
						+ ", notification_long_text=" + notification_long_text + ", url=" + url + ", status=" + status
100
				+ ", notification_long_text=" + notification_long_text + ", url=" + url + ", status=" + status
82
						+ ", seen=" + seen + ", created=" + created + ", expired=" + expired + "]";
101
				+ ", seen=" + seen + ", created=" + created + ", expired=" + expired + "]";
83
			}
102
	}
84
			
103
 
85
			
104
 
86
			
105
 
87
}
106
}
88
107