forked from wine-area/DMS-Backend
-
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: (#492) 자습실 수정 web request 분리
- Loading branch information
1 parent
daba4b5
commit 5b5fa46
Showing
5 changed files
with
81 additions
and
113 deletions.
There are no files selected for viewing
69 changes: 0 additions & 69 deletions
69
dms-core/src/main/kotlin/team/aliens/dms/domain/studyroom/dto/UpdateStudyRoomRequest.kt
This file was deleted.
Oops, something went wrong.
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
28 changes: 28 additions & 0 deletions
28
...on/src/main/kotlin/team/aliens/dms/domain/studyroom/dto/UpdateStudyRoomSeatsWebRequest.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,28 @@ | ||
package team.aliens.dms.domain.studyroom.dto | ||
|
||
import java.util.UUID | ||
import javax.validation.Valid | ||
import javax.validation.constraints.Min | ||
import javax.validation.constraints.NotNull | ||
|
||
data class UpdateStudyRoomSeatsWebRequest( | ||
@field:Valid | ||
val seats: List<SeatWebRequest> | ||
) { | ||
data class SeatWebRequest( | ||
@field:NotNull | ||
@field:Min(0) | ||
val widthLocation: Int, | ||
|
||
@field:NotNull | ||
@field:Min(0) | ||
val heightLocation: Int, | ||
|
||
val number: Int?, | ||
|
||
val typeId: UUID?, | ||
|
||
@field:NotNull | ||
val status: WebSeatStatus | ||
) | ||
} |
7 changes: 7 additions & 0 deletions
7
...src/main/kotlin/team/aliens/dms/domain/studyroom/dto/UpdateStudyRoomTimeSlotWebRequest.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,7 @@ | ||
package team.aliens.dms.domain.studyroom.dto | ||
|
||
import java.util.UUID | ||
|
||
data class UpdateStudyRoomTimeSlotWebRequest( | ||
val timeSlotIds: List<UUID> | ||
) |
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