Skip to content

Commit

Permalink
Merge pull request #191 from fourix4/dev
Browse files Browse the repository at this point in the history
refactor : dto mapping 변경
  • Loading branch information
TaeHoon0 authored Jul 28, 2024
2 parents 049ef61 + 5d4ac9f commit 681052d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.example.CatchStudy.domain.dto.request;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springframework.web.multipart.MultipartFile;
Expand All @@ -8,6 +10,7 @@

@Getter
@AllArgsConstructor
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class ManagerRequestDto {

private String cafeName;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
package com.example.CatchStudy.domain.dto.request;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Getter;

@Getter
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class MessageRequestDto {

private long chatRoomId;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
package com.example.CatchStudy.domain.dto.request;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class RoomsRequestDto {

private String roomName;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
package com.example.CatchStudy.domain.dto.request;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class SeatRequestDto {

private String seatNumber;
Expand Down

0 comments on commit 681052d

Please sign in to comment.