-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[feat] : 이미지 URL & 소개 문구 & 색상 필드를 추가한다
- Loading branch information
Showing
17 changed files
with
496 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
191 changes: 107 additions & 84 deletions
191
src/main/java/kusitms/backend/result/domain/enums/JamsilStadiumStatusType.java
Large diffs are not rendered by default.
Oops, something went wrong.
361 changes: 209 additions & 152 deletions
361
src/main/java/kusitms/backend/result/domain/enums/KtWizStadiumStatusType.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/main/java/kusitms/backend/stadium/domain/enums/StadiumInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package kusitms.backend.stadium.domain.enums; | ||
|
||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
|
||
@Getter | ||
@RequiredArgsConstructor | ||
public enum StadiumInfo { | ||
|
||
LG_HOME("https://kr.object.ncloudstorage.com/hitzone-bucket/hitzone/guide/lg/guide_home_lg.png", | ||
"서울의 자존심, LG 트윈스 / 미라클 두산, 두산 베어스", | ||
"두산베어스, LG 트윈스", | ||
"상대팀" | ||
), | ||
KT_HOME("https://kr.object.ncloudstorage.com/hitzone-bucket/hitzone/guide/kt/guide_home_kt.png", | ||
"한국 프로 야구의 10번째 심장 KT wiz", | ||
"KT WIZ", | ||
"상대팀" | ||
) | ||
; | ||
|
||
private final String imgUrl; | ||
private final String introduction; | ||
private final String firstBaseSide; | ||
private final String thirdBaseSide; | ||
} |
24 changes: 24 additions & 0 deletions
24
src/main/java/kusitms/backend/stadium/dto/response/GetStadiumInfosResponseDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package kusitms.backend.stadium.dto.response; | ||
|
||
import java.util.List; | ||
|
||
public record GetStadiumInfosResponseDto( | ||
String imgUrl, | ||
String introduction, | ||
String firstBaseSide, | ||
String thirdBaseSide, | ||
List<ZoneInfo> zones | ||
) { | ||
public static GetStadiumInfosResponseDto of(String imgUrl, String introduction, String firstBaseSide, String thirdBaseSideList, List<ZoneInfo> zoneInfos) { | ||
return new GetStadiumInfosResponseDto(imgUrl, introduction, firstBaseSide, thirdBaseSideList, zoneInfos); | ||
} | ||
|
||
public record ZoneInfo( | ||
String zoneName, | ||
String zoneColor | ||
) { | ||
public static ZoneInfo of(String zoneName, String zoneColor) { | ||
return new ZoneInfo(zoneName, zoneColor); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
src/main/java/kusitms/backend/stadium/dto/response/GetZonesNameResponseDto.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.