-
Notifications
You must be signed in to change notification settings - Fork 0
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
3 changed files
with
30 additions
and
10 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
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,6 +1,8 @@ | ||
package dynamicquad.agilehub.project.controller.request; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.NotNull; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
|
@@ -9,11 +11,25 @@ public class ProjectInviteRequestDto { | |
private ProjectInviteRequestDto() { | ||
} | ||
|
||
@Schema(description = "초대 메일 송신") | ||
@Getter | ||
@Builder | ||
@Schema | ||
public static class SendInviteMail { | ||
@Schema(description = "초대할 사람의 이메일 주소", example = "[email protected]") | ||
@NotBlank | ||
String email; | ||
|
||
@Schema(description = "초대할 프로젝트 id", example = "1") | ||
@NotNull | ||
long projectId; | ||
} | ||
|
||
@Schema(description = "초대 메일 수신") | ||
@Getter | ||
@Builder | ||
public static class ReceiveInviteMail { | ||
@Schema(description = "메일로부터 온 인증번호") | ||
@NotBlank | ||
String inviteCode; | ||
} | ||
} |