Class NotificationDTO

java.lang.Object
callofproject.dev.service.notification.dto.NotificationDTO

public class NotificationDTO extends Object
DTO class for notification user response.
  • Method Details

    • getNotificationId

      public String getNotificationId()
      Get notification id.
      Returns:
      String.
    • getRequestId

      public UUID getRequestId()
      Get request id.
      Returns:
      UUID.
    • getNotificationDataType

      public callofproject.dev.nosql.enums.NotificationDataType getNotificationDataType()
      Get notification data type.
      Returns:
      NotificationDataType.
    • getNotificationImage

      public String getNotificationImage()
      Get notification image.
      Returns:
      String.
    • getNotificationApproveLink

      public String getNotificationApproveLink()
      Get notification approve link.
      Returns:
      String.
    • getNotificationRejectLink

      public String getNotificationRejectLink()
      Get notification reject link.
      Returns:
      String.
    • getNotificationTitle

      public String getNotificationTitle()
      Get notification title.
      Returns:
      String.
    • getCreatedAt

      public LocalDateTime getCreatedAt()
      Get created at.
      Returns:
      LocalDateTime.
    • setToUserId

      public void setToUserId(UUID toUserId)
      Set to user id.
      Parameters:
      toUserId - represent the to user id.
    • setNotificationId

      public void setNotificationId(String notificationId)
      Set notification id.
      Parameters:
      notificationId - represent the notification id.
    • setFromUserId

      public void setFromUserId(UUID fromUserId)
      Set from user id.
      Parameters:
      fromUserId - represent the from user id.
    • setMessage

      public void setMessage(String message)
      Set message.
      Parameters:
      message - represent the message.
    • setNotificationImage

      public void setNotificationImage(String notificationImage)
      Set notification image.
      Parameters:
      notificationImage - represent the notification image.
    • setNotificationTitle

      public void setNotificationTitle(String notificationTitle)
      Set notification title.
      Parameters:
      notificationTitle - represent the notification title.
    • setCreatedAt

      public void setCreatedAt(LocalDateTime createdAt)
      Set created at.
      Parameters:
      createdAt - represent the created at.
    • setNotificationDataType

      public void setNotificationDataType(callofproject.dev.nosql.enums.NotificationDataType notificationDataType)
      Set notification data type.
      Parameters:
      notificationDataType - represent the notification data type.
    • setRequestId

      public void setRequestId(UUID requestId)
      Set request id.
      Parameters:
      requestId - represent the request id.
    • setNotificationApproveLink

      public void setNotificationApproveLink(String notificationApproveLink)
      Set notification approve link.
      Parameters:
      notificationApproveLink - represent the notification approve link.
    • setNotificationRejectLink

      public void setNotificationRejectLink(String notificationRejectLink)
      Set notification reject link.
      Parameters:
      notificationRejectLink - represent the notification reject link.
    • setNotificationType

      public void setNotificationType(callofproject.dev.nosql.enums.NotificationType notificationType)
      Set notification type.
      Parameters:
      notificationType - represent the notification type.
    • setNotificationData

      public void setNotificationData(Object notificationData)
      Set notification data.
      Parameters:
      notificationData - represent the notification data.
    • setNotificationLink

      public void setNotificationLink(String notificationLink)
      Set notification link.
      Parameters:
      notificationLink - represent the notification link.
    • getToUserId

      public UUID getToUserId()
      Get to user id.
      Returns:
      UUID.
    • getFromUserId

      public UUID getFromUserId()
      Get from user id.
      Returns:
      UUID.
    • getMessage

      public String getMessage()
      Get message.
      Returns:
      String.
    • getNotificationType

      public callofproject.dev.nosql.enums.NotificationType getNotificationType()
      Get notification type.
      Returns:
      NotificationType.
    • getNotificationData

      public Object getNotificationData()
      Get notification data.
      Returns:
      Object.
    • getNotificationLink

      public String getNotificationLink()
      Get notification link.
      Returns:
      String.