Class Notification

java.lang.Object
org.cswteams.ms3.entity.Notification

@Entity public class Notification extends Object
This entity represents an element of the notification system.
  • Constructor Details

    • Notification

      protected Notification()
      Default constructor needed by Lombok
    • Notification

      public Notification(User user, String message)
      Create a new notification for the specific User, with a specific text.
      Parameters:
      user - User to be notified
      message - message to be delivered