-
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
10 changed files
with
112 additions
and
54 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
9 changes: 0 additions & 9 deletions
9
src/main/java/com/khu/gitbox/domain/file/presentation/dto/FileGetRequest.java
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
...ain/java/com/khu/gitbox/domain/file/presentation/dto/request/FileGetByKeywordRequest.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.khu.gitbox.domain.file.presentation.dto.request; | ||
|
||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.NotNull; | ||
|
||
public record FileGetByKeywordRequest( | ||
@NotNull(message = "workspaceId는 필수입니다.") | ||
Long workspaceId, | ||
|
||
@NotBlank(message = "keyword는 필수입니다.") | ||
String keyword | ||
) { | ||
} |
12 changes: 12 additions & 0 deletions
12
src/main/java/com/khu/gitbox/domain/file/presentation/dto/request/FileGetByTagRequest.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.khu.gitbox.domain.file.presentation.dto.request; | ||
|
||
import com.khu.gitbox.domain.file.entity.FileTag; | ||
|
||
import jakarta.validation.constraints.NotNull; | ||
|
||
public record FileGetByTagRequest( | ||
@NotNull(message = "workspaceId는 필수입니다.") | ||
Long workspaceId, | ||
FileTag tag | ||
) { | ||
} |
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
Oops, something went wrong.