Skip to content

Commit

Permalink
Merge pull request #222 from Gamegoo-repo/fix/219
Browse files Browse the repository at this point in the history
[Fix/219] Champion Response 변경
  • Loading branch information
rimi3226 authored Sep 19, 2024
2 parents fbd72c5 + 5f83300 commit e2c1eed
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 139 deletions.
27 changes: 17 additions & 10 deletions src/main/java/com/gamegoo/dto/board/BoardResponse.java
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
package com.gamegoo.dto.board;

import com.gamegoo.domain.member.Tier;
import com.gamegoo.dto.manner.MannerResponse;
import com.gamegoo.dto.member.MemberResponse;
import lombok.*;

import java.time.LocalDateTime;
import java.util.List;

import com.gamegoo.dto.manner.MannerResponse;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

public class BoardResponse {

@Getter
Expand All @@ -37,6 +34,16 @@ public static class boardInsertResponseDTO {

}

@Builder
@Getter
@NoArgsConstructor
@AllArgsConstructor
public static class ChampionResponseDTO {

Long championId;
String championName;
}

@Getter
@Builder
@Setter
Expand Down Expand Up @@ -78,7 +85,7 @@ public static class boardListResponseDTO {
Integer mainPosition;
Integer subPosition;
Integer wantPosition;
List<Long> championList;
List<MemberResponse.ChampionResponseDTO> championResponseDTOList;
Double winRate;
LocalDateTime createdAt;
Boolean mike;
Expand All @@ -101,7 +108,7 @@ public static class boardByIdResponseDTO {
Tier tier;
Integer rank;
Boolean mike;
List<Long> championList;
List<MemberResponse.ChampionResponseDTO> championResponseDTOList;
Integer gameMode;
Integer mainPosition;
Integer subPosition;
Expand Down Expand Up @@ -133,7 +140,7 @@ public static class boardByIdResponseForMemberDTO {
Tier tier;
Integer rank;
Boolean mike;
List<Long> championList;
List<MemberResponse.ChampionResponseDTO> championResponseDTOList;
Integer gameMode;
Integer mainPosition;
Integer subPosition;
Expand Down
Loading

0 comments on commit e2c1eed

Please sign in to comment.