Class Notification

java.lang.Object
web.sportflow.notification.Notification

@Entity public class Notification extends Object
  • Constructor Details

  • Method Details

    • prePersist

      public void prePersist()
    • getId

      public Long getId()
    • getRecipient

      public User getRecipient()
    • getActor

      public User getActor()
    • getType

      public NotificationType getType()
    • getMessage

      public String getMessage()
    • getTargetUrl

      public String getTargetUrl()
    • isRead

      public boolean isRead()
    • getCreatedAt

      public LocalDateTime getCreatedAt()
    • setId

      public void setId(Long id)
    • setRecipient

      public void setRecipient(User recipient)
    • setActor

      public void setActor(User actor)
    • setType

      public void setType(NotificationType type)
    • setMessage

      public void setMessage(String message)
    • setTargetUrl

      public void setTargetUrl(String targetUrl)
    • setRead

      public void setRead(boolean read)
    • setCreatedAt

      public void setCreatedAt(LocalDateTime createdAt)