generated from GSM-MSG/MSG-Repository-Generator
-
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.
Merge pull request #249 from GSM-MSG/248-update/monday-reservation
# 248 월요일 7교시 예약 가능하도록 수정
- Loading branch information
Showing
8 changed files
with
23 additions
and
24 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
6 changes: 6 additions & 0 deletions
6
src/main/kotlin/team/msg/hiv2/domain/homebase/exception/NotReserveHomeBaseDayException.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,6 @@ | ||
package team.msg.hiv2.domain.homebase.exception | ||
|
||
import team.msg.hiv2.global.error.ErrorCode | ||
import team.msg.hiv2.global.error.exception.HiException | ||
|
||
class NotReserveHomeBaseDayException : HiException(ErrorCode.NOT_RESERVE_HOME_BASE_DAY_EXCEPTION) |
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
3 changes: 2 additions & 1 deletion
3
...ain/kotlin/team/msg/hiv2/domain/reservation/application/validator/ReservationValidator.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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
package team.msg.hiv2.domain.reservation.application.validator | ||
|
||
import java.time.DayOfWeek | ||
import java.time.LocalDateTime | ||
|
||
interface ReservationValidator { | ||
fun validateReservationTime(currentTime: LocalDateTime, period: Int) | ||
fun validateReservationDay(currentTime: LocalDateTime) | ||
fun validateReservationDay(currentTime: LocalDateTime): DayOfWeek | ||
} |
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