-
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.
Refactor: 기수 추가 시 날짜 타입 LocalDate로 변경 (#39)
Co-authored-by: Youth <[email protected]>
- Loading branch information
Showing
3 changed files
with
12 additions
and
30 deletions.
There are no files selected for viewing
9 changes: 3 additions & 6 deletions
9
src/main/java/cotato/csquiz/domain/dto/generation/AddGenerationRequest.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 |
---|---|---|
@@ -1,15 +1,12 @@ | ||
package cotato.csquiz.domain.dto.generation; | ||
|
||
import java.time.LocalDate; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class AddGenerationRequest { | ||
private int generationNumber; | ||
private LocalDate startDate; | ||
private LocalDate endDate; | ||
private int sessionCount; | ||
private int startYear; | ||
private int startMonth; | ||
private int startDay; | ||
private int endYear; | ||
private int endMonth; | ||
private int endDay; | ||
} |
11 changes: 3 additions & 8 deletions
11
src/main/java/cotato/csquiz/domain/dto/generation/ChangePeriodRequest.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 |
---|---|---|
@@ -1,17 +1,12 @@ | ||
package cotato.csquiz.domain.dto.generation; | ||
|
||
import java.time.LocalDate; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class ChangePeriodRequest { | ||
|
||
private Long generationId; | ||
|
||
private int startYear; | ||
private int startMonth; | ||
private int startDay; | ||
|
||
private int endYear; | ||
private int endMonth; | ||
private int endDay; | ||
private LocalDate startDate; | ||
private LocalDate endDate; | ||
} |
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