From 638fc7186ab95392a2db22f16e7a21c5afc09802 Mon Sep 17 00:00:00 2001 From: xxeol2 Date: Fri, 8 Sep 2023 15:35:43 +0900 Subject: [PATCH] =?UTF-8?q?style:=20=EC=9A=94=EC=B2=AD=20DTO=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=BB=A8=EB=B2=A4=EC=85=98=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/festago/dto/FestivalCreateRequest.java | 6 +++++- .../main/java/com/festago/dto/StageCreateRequest.java | 9 +++++---- .../main/java/com/festago/dto/TicketCreateRequest.java | 6 +++++- .../java/com/festago/dto/TicketValidationRequest.java | 3 ++- .../src/main/java/com/festago/dto/TicketingRequest.java | 3 ++- 5 files changed, 19 insertions(+), 8 deletions(-) diff --git a/backend/src/main/java/com/festago/dto/FestivalCreateRequest.java b/backend/src/main/java/com/festago/dto/FestivalCreateRequest.java index f214aec6b..ec10a7c21 100644 --- a/backend/src/main/java/com/festago/dto/FestivalCreateRequest.java +++ b/backend/src/main/java/com/festago/dto/FestivalCreateRequest.java @@ -4,7 +4,11 @@ import java.time.LocalDate; import java.util.Objects; -public record FestivalCreateRequest(String name, LocalDate startDate, LocalDate endDate, String thumbnail) { +public record FestivalCreateRequest( + String name, + LocalDate startDate, + LocalDate endDate, + String thumbnail) { public Festival toEntity() { if (Objects.isNull(thumbnail) || thumbnail.isBlank()) { diff --git a/backend/src/main/java/com/festago/dto/StageCreateRequest.java b/backend/src/main/java/com/festago/dto/StageCreateRequest.java index fb8d94a40..8f46f1afe 100644 --- a/backend/src/main/java/com/festago/dto/StageCreateRequest.java +++ b/backend/src/main/java/com/festago/dto/StageCreateRequest.java @@ -2,9 +2,10 @@ import java.time.LocalDateTime; -public record StageCreateRequest(LocalDateTime startTime, - String lineUp, - LocalDateTime ticketOpenTime, - Long festivalId) { +public record StageCreateRequest( + LocalDateTime startTime, + String lineUp, + LocalDateTime ticketOpenTime, + Long festivalId) { } diff --git a/backend/src/main/java/com/festago/dto/TicketCreateRequest.java b/backend/src/main/java/com/festago/dto/TicketCreateRequest.java index 37f6fb9e0..4a618e6e7 100644 --- a/backend/src/main/java/com/festago/dto/TicketCreateRequest.java +++ b/backend/src/main/java/com/festago/dto/TicketCreateRequest.java @@ -3,6 +3,10 @@ import com.festago.domain.TicketType; import java.time.LocalDateTime; -public record TicketCreateRequest(Long stageId, TicketType ticketType, Integer amount, LocalDateTime entryTime) { +public record TicketCreateRequest( + Long stageId, + TicketType ticketType, + Integer amount, + LocalDateTime entryTime) { } diff --git a/backend/src/main/java/com/festago/dto/TicketValidationRequest.java b/backend/src/main/java/com/festago/dto/TicketValidationRequest.java index f98f8de2e..34d6a1514 100644 --- a/backend/src/main/java/com/festago/dto/TicketValidationRequest.java +++ b/backend/src/main/java/com/festago/dto/TicketValidationRequest.java @@ -1,5 +1,6 @@ package com.festago.dto; -public record TicketValidationRequest(String code) { +public record TicketValidationRequest( + String code) { } diff --git a/backend/src/main/java/com/festago/dto/TicketingRequest.java b/backend/src/main/java/com/festago/dto/TicketingRequest.java index 048039f0f..faae025fd 100644 --- a/backend/src/main/java/com/festago/dto/TicketingRequest.java +++ b/backend/src/main/java/com/festago/dto/TicketingRequest.java @@ -1,5 +1,6 @@ package com.festago.dto; -public record TicketingRequest(Long ticketId) { +public record TicketingRequest( + Long ticketId) { }