-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from softeerbootcamp4th/fix/casperFix
Fix/casper fix
- Loading branch information
Showing
5 changed files
with
41 additions
and
17 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
...a/JGS/CasperEvent/domain/event/dto/RequestDto/rushEventDto/RushEventOptionRequestDto.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,13 @@ | ||
package JGS.CasperEvent.domain.event.dto.RequestDto.rushEventDto; | ||
|
||
import lombok.Getter; | ||
import lombok.ToString; | ||
|
||
@ToString | ||
@Getter | ||
public class RushEventOptionRequestDto { | ||
private String mainText; | ||
private String subText; | ||
private String resultMainText; | ||
private String resultSubText; | ||
} |
22 changes: 22 additions & 0 deletions
22
...in/java/JGS/CasperEvent/domain/event/dto/RequestDto/rushEventDto/RushEventRequestDto.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,22 @@ | ||
package JGS.CasperEvent.domain.event.dto.RequestDto.rushEventDto; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Getter; | ||
import lombok.ToString; | ||
|
||
import java.time.LocalDate; | ||
import java.time.LocalTime; | ||
|
||
@ToString | ||
@Getter | ||
public class RushEventRequestDto { | ||
private LocalDate eventDate; | ||
private LocalTime startTime; | ||
private LocalTime endTime; | ||
private int winnerCount; | ||
private String prizeDescription; | ||
@JsonProperty("leftOption") | ||
private RushEventOptionRequestDto leftOption; | ||
@JsonProperty("rightOption") | ||
private RushEventOptionRequestDto rightOption; | ||
} |
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