-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
48 additions
and
2 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
29 changes: 29 additions & 0 deletions
29
...in/kotlin/team/comit/simtong/domain/holiday/dto/request/AppointHolidayPeriodWebRequest.kt
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,29 @@ | ||
package team.comit.simtong.domain.holiday.dto.request | ||
|
||
import org.hibernate.validator.constraints.Range | ||
import java.time.LocalDate | ||
import javax.validation.constraints.NotNull | ||
|
||
/** | ||
* | ||
* 휴무표 작성 기간 설정을 요청하는 AppointHolidayPeriodWebRequest | ||
* | ||
* @author Chokyunghyeon | ||
* @date 2022/12/22 | ||
* @version 1.0.0 | ||
**/ | ||
data class AppointHolidayPeriodWebRequest( | ||
@field:NotNull | ||
val year: Int, | ||
|
||
@field:NotNull | ||
@field:Range( | ||
min = 1, | ||
max = 12 | ||
) | ||
val month: Int, | ||
|
||
val startAt: LocalDate, | ||
|
||
val endAt: LocalDate | ||
) |