diff --git a/src/main/java/com/example/CatchStudy/domain/dto/request/BookingRequestDto.java b/src/main/java/com/example/CatchStudy/domain/dto/request/BookingRequestDto.java index 4ca2dbc..8c4a627 100644 --- a/src/main/java/com/example/CatchStudy/domain/dto/request/BookingRequestDto.java +++ b/src/main/java/com/example/CatchStudy/domain/dto/request/BookingRequestDto.java @@ -14,22 +14,17 @@ @NoArgsConstructor @AllArgsConstructor public class BookingRequestDto { - @JsonProperty("cafe_id") Long cafe_id; - - @JsonProperty("seat_id") Long seat_id; - @JsonProperty("time") Integer time; - @JsonProperty("amount") + Integer amount; - @JsonProperty("payment_type") String payment_type; - @JsonProperty("room_id") + Long room_id; - @JsonProperty("type") + String type; - @JsonProperty("start_time") + String start_time; public SeatBookingDto toSeatDto() { diff --git a/src/main/java/com/example/CatchStudy/domain/dto/request/SeatCheckOutRequestDto.java b/src/main/java/com/example/CatchStudy/domain/dto/request/SeatCheckOutRequestDto.java index 37239d5..1215334 100644 --- a/src/main/java/com/example/CatchStudy/domain/dto/request/SeatCheckOutRequestDto.java +++ b/src/main/java/com/example/CatchStudy/domain/dto/request/SeatCheckOutRequestDto.java @@ -9,10 +9,8 @@ @Getter @NoArgsConstructor @AllArgsConstructor -@Setter public class SeatCheckOutRequestDto { - @JsonProperty("booking_id") private Long booking_id; }