-
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.
Browse files
Browse the repository at this point in the history
Add resource and createdAt �to words/{id} return value
- Loading branch information
Showing
5 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
15 changes: 14 additions & 1 deletion
15
src/main/java/com/dnd/spaced/domain/admin/application/dto/request/AdminWordRequestDto.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,24 @@ | ||
package com.dnd.spaced.domain.admin.application.dto.request; | ||
|
||
import com.dnd.spaced.domain.word.domain.Pronunciation; | ||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
public record AdminWordRequestDto( | ||
@Schema(description = "등록할 용어 이름") | ||
String name, | ||
|
||
@Schema(description = "등록할 용어 뜻") | ||
String meaning, | ||
|
||
@Schema(description = "등록할 용어 발음") | ||
Pronunciation pronunciation, | ||
|
||
@Schema(description = "등록할 용어의 카테고리") | ||
String category, | ||
String example | ||
|
||
@Schema(description = "등록할 용어 예문") | ||
String example, | ||
|
||
@Schema(description = "등록할 용어 출처") | ||
String resource | ||
) {} |
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