Skip to content

Commit

Permalink
Merge pull request #80 from kimh7537/develop
Browse files Browse the repository at this point in the history
Refactor: 용병 create dto LocalTime 형식 수정
  • Loading branch information
kimh7537 authored Aug 21, 2024
2 parents 73b1f72 + ee75b2e commit 8fab270
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import com.cotato.squadus.api.match.dto.matchPost.request.MatchCreateRequest;
import com.cotato.squadus.domain.club.common.entity.Tier;
import com.cotato.squadus.domain.club.common.enums.SportsCategory;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

Expand All @@ -19,6 +21,9 @@ public class MercenaryCreateRequest {
private MatchPlaceRequest matchPlace;
private Boolean placeProvided;
private LocalDate matchStartDate;

@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm")
@Schema(description = "Match start time in format HH:mm", example = "10:00")
private LocalTime matchStartTime;
private Integer maxParticipants;

Expand Down

0 comments on commit 8fab270

Please sign in to comment.