Subversion Repositories SmartDukaan

Rev

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

Rev 25302 Rev 25374
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
 
-
 
5
public class Notification {
3
public class Notification {
6
	private String cid;
4
	private String cid;
7
	private String title;
5
	private String title;
8
	private String type;
6
	private String type;
9
	private String message;
7
	private String message;
10
	private String notification_long_text;
8
	private String imageUrl;
11
	private String url;
9
	private String url;
12
	private String status;
-
 
13
	private boolean seen;
10
	private Boolean showImage;
14
	private long created;
11
	private long created;
15
	private boolean expired;
12
	private boolean expired;
16
 
13
 
17
	public String getCid() {
14
	public String getCid() {
18
		return cid;
15
		return cid;
Line 44... Line 41...
44
 
41
 
45
	public void setMessage(String message) {
42
	public void setMessage(String message) {
46
		this.message = message;
43
		this.message = message;
47
	}
44
	}
48
 
45
 
49
	public String getNotification_long_text() {
-
 
50
		return notification_long_text;
-
 
51
	}
-
 
52
 
-
 
53
	public void setNotification_long_text(String notification_long_text) {
-
 
54
		this.notification_long_text = notification_long_text;
-
 
55
	}
-
 
56
 
-
 
57
	public String getUrl() {
46
	public String getUrl() {
58
		return url;
47
		return url;
59
	}
48
	}
60
 
49
 
61
	public void setUrl(String url) {
50
	public void setUrl(String url) {
62
		this.url = url;
51
		this.url = url;
63
	}
52
	}
64
 
53
 
65
	public String getStatus() {
-
 
66
		return status;
-
 
67
	}
-
 
68
 
-
 
69
	public void setStatus(String status) {
-
 
70
		this.status = status;
-
 
71
	}
-
 
72
 
-
 
73
	public boolean isExpired() {
54
	public boolean isExpired() {
74
		return expired;
55
		return expired;
75
	}
56
	}
76
 
57
 
-
 
58
	public String getImageUrl() {
-
 
59
		return imageUrl;
-
 
60
	}
-
 
61
 
77
	public void setExpired(boolean expired) {
62
	public void setImageUrl(String imageUrl) {
78
		this.expired = expired;
63
		this.imageUrl = imageUrl;
79
	}
64
	}
80
 
65
 
81
	public boolean isSeen() {
66
	public Boolean getShowImage() {
82
		return seen;
67
		return showImage;
83
	}
68
	}
84
 
69
 
85
	public void setSeen(boolean seen) {
70
	public void setExpired(boolean expired) {
86
		this.seen = seen;
71
		this.expired = expired;
87
	}
72
	}
88
 
73
 
89
	public long getCreated() {
74
	public long getCreated() {
90
		return created;
75
		return created;
91
	}
76
	}
92
 
77
 
93
	public void setCreated(long created) {
78
	public void setCreated(long created) {
94
		this.created = created;
79
		this.created = created;
95
	}
80
	}
96
 
81
 
-
 
82
	public Boolean isShowImage() {
-
 
83
		return showImage;
-
 
84
	}
-
 
85
 
-
 
86
	public void setShowImage(Boolean showImage) {
-
 
87
		this.showImage = showImage;
-
 
88
	}
-
 
89
 
97
	@Override
90
	@Override
98
	public String toString() {
91
	public String toString() {
99
		return "Notification [cid=" + cid + ", title=" + title + ", type=" + type + ", message=" + message
92
		return "Notification [cid=" + cid + ", title=" + title + ", type=" + type + ", message=" + message + ", url="
100
				+ ", notification_long_text=" + notification_long_text + ", url=" + url + ", status=" + status
-
 
101
				+ ", seen=" + seen + ", created=" + created + ", expired=" + expired + "]";
93
				+ url + ", showImage=" + showImage + ", created=" + created + ", expired=" + expired + "]";
102
	}
94
	}
103
 
95
 
104
 
96
 
105
 
97
 
106
}
98
}
107
99