package org.ntlab.tampoposerver.models; import com.fasterxml.jackson.annotation.JsonIgnore; public class Notification { @JsonIgnore private String userId; @JsonIgnore private String notificationId; private String from; private String text; private String time; public Notification(String u, String n, String f, String tx, String tm) { this.userId = u; this.notificationId = n; this.from = f; this.text = tx; this.time = tm; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getNotificationId() { return notificationId; } public void setNotificationId(String notificationId) { this.notificationId = notificationId; } public String getFrom() { return from; } public void setFrom(String from) { this.from = from; } public String getText() { return text; } public void setText(String text) { this.text = text; } public String getTime() { return time; } public void setTime(String time) { this.time = time; } }