-
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 #48 from Workout-Study/dev
Dev
- Loading branch information
Showing
42 changed files
with
502 additions
and
56 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
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
11 changes: 11 additions & 0 deletions
11
src/main/kotlin/com/fitmate/myfit/adapter/in/web/fit/off/response/FitOffDetail.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,11 @@ | ||
package com.fitmate.myfit.adapter.`in`.web.fit.off.response | ||
|
||
import java.time.Instant | ||
|
||
data class FitOffDetail( | ||
val fitOffId: Long, | ||
val userId: Int, | ||
var fitOffStartDate: Instant, | ||
var fitOffEndDate: Instant, | ||
var fitOffReason: String | ||
) |
5 changes: 5 additions & 0 deletions
5
...main/kotlin/com/fitmate/myfit/adapter/in/web/fit/off/response/ProceedingFitOffResponse.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,5 @@ | ||
package com.fitmate.myfit.adapter.`in`.web.fit.off.response | ||
|
||
data class ProceedingFitOffResponse( | ||
val content: List<FitOffDetail> | ||
) |
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
6 changes: 6 additions & 0 deletions
6
...tmate/myfit/adapter/in/web/fit/record/request/UpdateFitRecordMultiMediaEndPointRequest.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 com.fitmate.myfit.adapter.`in`.web.fit.record.request | ||
|
||
data class UpdateFitRecordMultiMediaEndPointRequest( | ||
val requestUserId: Int, | ||
val multiMediaEndPoints: List<String>? | ||
) |
3 changes: 3 additions & 0 deletions
3
...ate/myfit/adapter/in/web/fit/record/response/UpdateFitRecordMultiMediaEndPointResponse.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,3 @@ | ||
package com.fitmate.myfit.adapter.`in`.web.fit.record.response | ||
|
||
data class UpdateFitRecordMultiMediaEndPointResponse(val isUpdateSuccess: Boolean) |
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
...lin/com/fitmate/myfit/adapter/in/web/my/fit/request/NeedVoteCertificationFilterRequest.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,5 +1,6 @@ | ||
package com.fitmate.myfit.adapter.`in`.web.my.fit.request | ||
|
||
data class NeedVoteCertificationFilterRequest( | ||
val requestUserId: Int | ||
val requestUserId: Int, | ||
val fitGroupId: Long? | ||
) |
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
11 changes: 11 additions & 0 deletions
11
...otlin/com/fitmate/myfit/application/port/in/fit/off/command/GetProceedingFitOffCommand.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,11 @@ | ||
package com.fitmate.myfit.application.port.`in`.fit.off.command | ||
|
||
import com.fitmate.myfit.common.SelfValidating | ||
|
||
data class GetProceedingFitOffCommand( | ||
val fitGroupId: Long | ||
) : SelfValidating<GetProceedingFitOffCommand>() { | ||
init { | ||
this.validateSelf() | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/kotlin/com/fitmate/myfit/application/port/in/fit/off/usecase/ReadFitOffUseCase.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,9 @@ | ||
package com.fitmate.myfit.application.port.`in`.fit.off.usecase | ||
|
||
import com.fitmate.myfit.adapter.`in`.web.fit.off.response.ProceedingFitOffResponse | ||
import com.fitmate.myfit.application.port.`in`.fit.off.command.GetProceedingFitOffCommand | ||
|
||
interface ReadFitOffUseCase { | ||
|
||
fun getProceedingFitOffByGroupId(command: GetProceedingFitOffCommand): ProceedingFitOffResponse | ||
} |
14 changes: 14 additions & 0 deletions
14
.../myfit/application/port/in/fit/record/command/UpdateFitRecordMultiMediaEndPointCommand.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,14 @@ | ||
package com.fitmate.myfit.application.port.`in`.fit.record.command | ||
|
||
import com.fitmate.myfit.common.SelfValidating | ||
|
||
data class UpdateFitRecordMultiMediaEndPointCommand( | ||
val fitRecordId: Long, | ||
val requestUserId: Int, | ||
val multiMediaEndPoints: List<String>? | ||
) : SelfValidating<UpdateFitRecordMultiMediaEndPointCommand>() { | ||
|
||
init { | ||
this.validateSelf() | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
...t/application/port/in/fit/record/response/UpdateFitRecordMultiMediaEndPointResponseDto.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,3 @@ | ||
package com.fitmate.myfit.application.port.`in`.fit.record.response | ||
|
||
data class UpdateFitRecordMultiMediaEndPointResponseDto(val isUpdateSuccess: Boolean) |
9 changes: 9 additions & 0 deletions
9
.../myfit/application/port/in/fit/record/usecase/UpdateFitRecordMultiMediaEndPointUseCase.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,9 @@ | ||
package com.fitmate.myfit.application.port.`in`.fit.record.usecase | ||
|
||
import com.fitmate.myfit.application.port.`in`.fit.record.command.UpdateFitRecordMultiMediaEndPointCommand | ||
import com.fitmate.myfit.application.port.`in`.fit.record.response.UpdateFitRecordMultiMediaEndPointResponseDto | ||
|
||
interface UpdateFitRecordMultiMediaEndPointUseCase { | ||
|
||
fun updateFitRecordMultiMediaEndPoint(command: UpdateFitRecordMultiMediaEndPointCommand): UpdateFitRecordMultiMediaEndPointResponseDto | ||
} |
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.