-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
62 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ockknockbackend/domain/notification/presentation/dto/request/RegisterFcmTokenRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package io.github.depromeet.knockknockbackend.domain.notification.presentation.dto.request; | ||
|
||
|
||
import javax.validation.constraints.NotBlank; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class RegisterFcmTokenRequest { | ||
|
||
private String deviceId; | ||
private String token; | ||
@NotBlank private String deviceId; | ||
@NotBlank private String token; | ||
} |
7 changes: 4 additions & 3 deletions
7
...t/knockknockbackend/domain/notification/presentation/dto/request/SendInstanceRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
package io.github.depromeet.knockknockbackend.domain.notification.presentation.dto.request; | ||
|
||
|
||
import javax.validation.constraints.NotBlank; | ||
import javax.validation.constraints.NotNull; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class SendInstanceRequest { | ||
|
||
private Long groupId; | ||
@NotNull private Long groupId; | ||
private String title; | ||
private String content; | ||
@NotBlank private String content; | ||
private String imageUrl; | ||
} |
6 changes: 4 additions & 2 deletions
6
...end/domain/notification/presentation/dto/request/SendInstanceToMeBeforeSignUpRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
package io.github.depromeet.knockknockbackend.domain.notification.presentation.dto.request; | ||
|
||
|
||
import javax.validation.constraints.NotBlank; | ||
import javax.validation.constraints.NotEmpty; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class SendInstanceToMeBeforeSignUpRequest { | ||
|
||
private String token; | ||
private String content; | ||
@NotBlank private String token; | ||
@NotEmpty private String content; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...t/knockknockbackend/domain/reaction/presentation/dto/request/RegisterReactionRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package io.github.depromeet.knockknockbackend.domain.reaction.presentation.dto.request; | ||
|
||
|
||
import javax.validation.constraints.NotNull; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class RegisterReactionRequest { | ||
|
||
private Long notificationId; | ||
private Long reactionId; | ||
@NotNull private Long notificationId; | ||
@NotNull private Long reactionId; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters