-
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
fix : lckSchedule get api
- Loading branch information
Showing
3 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...ver/src/main/java/com/wable/www/WableServer/api/lck/dto/reponse/LckScheduleByDateDto.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,15 @@ | ||
package com.wable.www.WableServer.api.lck.dto.reponse; | ||
|
||
import java.util.List; | ||
|
||
public record LckScheduleByDateDto( | ||
String date, | ||
List<LckScheduleGetDto> games | ||
) { | ||
public static LckScheduleByDateDto of(String date, List<LckScheduleGetDto> games) { | ||
return new LckScheduleByDateDto( | ||
date, | ||
games | ||
); | ||
} | ||
} |
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