Class NotificationObject

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

public class NotificationObject extends Object
DTO class for notification object.
  • Field Details

    • projectId

      public UUID projectId
    • userId

      public UUID userId
  • Constructor Details

    • NotificationObject

      public NotificationObject()
      Constructor.
    • NotificationObject

      public NotificationObject(UUID projectId, UUID userId)
      Constructor.
      Parameters:
      projectId - represent the project id.
      userId - represent the user id.
  • Method Details

    • setProjectId

      public void setProjectId(UUID projectId)
      Set project id.
      Parameters:
      projectId - represent the project id.
    • setUserId

      public void setUserId(UUID userId)
      Set user id.
      Parameters:
      userId - represent the user id.
    • getProjectId

      public UUID getProjectId()
      Get project id.
      Returns:
      UUID.
    • getUserId

      public UUID getUserId()
      Get user id.
      Returns:
      UUID.