-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[FEAT] 업무 카드 수정 API
- Loading branch information
Showing
7 changed files
with
117 additions
and
3 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
37 changes: 37 additions & 0 deletions
37
src/main/java/site/katchup/katchupserver/api/card/dto/request/CardUpdateRequestDto.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,37 @@ | ||
package site.katchup.katchupserver.api.card.dto.request; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.NotNull; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import site.katchup.katchupserver.api.file.dto.request.FileCreateRequestDto; | ||
import site.katchup.katchupserver.api.screenshot.dto.request.ScreenshotCreateRequestDto; | ||
|
||
import java.util.List; | ||
|
||
@AllArgsConstructor(staticName = "of") | ||
@Getter | ||
public class CardUpdateRequestDto { | ||
@NotNull(message = "CD-110") | ||
private Long categoryId; | ||
|
||
@NotNull(message = "CD-111") | ||
private Long taskId; | ||
|
||
@Schema(description = "세부 업무 작성 안할 시, 해당 값 0으로") | ||
@NotNull(message = "CD-112") | ||
private Long subTaskId; | ||
|
||
@NotNull(message = "CD-113") | ||
private List<Long> keywordIdList; | ||
|
||
private List<ScreenshotCreateRequestDto> screenshotList; | ||
|
||
private List<FileCreateRequestDto> fileList; | ||
|
||
private String note; | ||
|
||
@NotBlank(message = "CD-114") | ||
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
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