-
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.
feat: mission content recommend time (#122)
* feat: Add recommend_time column * feat: fix mission content dto * feat: fix RoundMissionContentDto field image to recommendTime * chore: fix ci checker name and jobs
- Loading branch information
Showing
5 changed files
with
84 additions
and
85 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,13 +1,21 @@ | ||
package com.universe.uni.dto; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.Builder; | ||
|
||
@JsonPropertyOrder({"id", "content"}) | ||
@JsonPropertyOrder({"id", "content", "recommend_time"}) | ||
@Schema(description = "미션 내용을 담는 DTO") | ||
@Builder | ||
public record MissionContentDto( | ||
Long id, | ||
String content | ||
@Schema(description = "미션 내용 id") | ||
Long id, | ||
@Schema(description = "미션 내용") | ||
String content, | ||
@Schema(description = "미션 추천 시간") | ||
@JsonProperty("recommend_time") | ||
String recommendTime | ||
) { | ||
} |
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