-
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.
- Loading branch information
1 parent
ff6e7cb
commit 82fc30e
Showing
16 changed files
with
140 additions
and
108 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
2 changes: 1 addition & 1 deletion
2
...ava/com/keunsori/keunsoriserver/domain/admin/member/controller/AdminMemberController.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
2 changes: 1 addition & 1 deletion
2
...n/member/dto/MemberApplicantResponse.java → ...dto/response/MemberApplicantResponse.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
2 changes: 1 addition & 1 deletion
2
...main/java/com/keunsori/keunsoriserver/domain/admin/member/service/AdminMemberService.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
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
14 changes: 0 additions & 14 deletions
14
...m/keunsori/keunsoriserver/domain/admin/reservation/dto/request/WeeklyScheduleRequest.java
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
...sori/keunsoriserver/domain/admin/reservation/dto/request/WeeklyScheduleUpdateRequest.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,26 @@ | ||
package com.keunsori.keunsoriserver.domain.admin.reservation.dto.request; | ||
|
||
import com.keunsori.keunsoriserver.domain.admin.reservation.domain.WeeklySchedule; | ||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
import java.time.DayOfWeek; | ||
import java.time.LocalTime; | ||
|
||
public record WeeklyScheduleUpdateRequest( | ||
int dayOfWeekNum, // 0 = 일요일, 1 = 월요일, ... | ||
boolean isActive, | ||
@Schema(example = "10:00", type = "string") | ||
LocalTime startTime, | ||
@Schema(example = "22:00", type = "string") | ||
LocalTime endTime | ||
) { | ||
public WeeklySchedule toEntity(){ | ||
return WeeklySchedule.builder() | ||
.dayOfWeek(DayOfWeek.of((dayOfWeekNum+1)%8)) | ||
.isActive(isActive) | ||
.startTime(startTime) | ||
.endTime(endTime) | ||
.build(); | ||
} | ||
} | ||
|
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
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
Oops, something went wrong.