JmoordbNotifications.java
Se usa con los websocket para guardar las notificaciones de los usuarios.
También contiene:
JmoordbNotificacionsRepository
JmoordbNotificacionsServices
public class JmoordbNotifications {
@Id
private Integer idjoordbnotifications;
private String username;
private String message;
private String type;
private Date date;
private Boolean viewed;
public JmoordbNotifications() {
}
public JmoordbNotifications(Integer idjoordbnotifications, String username, String message, String type, Date date, Boolean viewed) {
this.idjoordbnotifications = idjoordbnotifications;
this.username = username;
this.message = message;
this.type = type;
this.date = date;
this.viewed = viewed;
}
public Integer getIdjoordbnotifications() {
return idjoordbnotifications;
}
public void setIdjoordbnotifications(Integer idjoordbnotifications) {
this.idjoordbnotifications = idjoordbnotifications;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public Date getDate() {
return date;
}
public void setDate(Date date) {
this.date = date;
}
public Boolean getViewed() {
return viewed;
}
public void setViewed(Boolean viewed) {
this.viewed = viewed;
}
}
Last updated