Skip to content

Commit

Permalink
[FEAT] MissionProcess Timestamp 변경을 위해 VO에 LocalDateTime 적용 (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
KxxHyoRim committed Feb 29, 2024
1 parent e7dcbc1 commit 610c534
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.lgtm.android.data.model.response

import com.google.gson.annotations.SerializedName
import com.lgtm.android.data.model.mapper.parseDate
import com.lgtm.domain.entity.response.MissionProcessInfoVO

data class MissionProcessInfoDTO(
Expand All @@ -19,12 +20,12 @@ data class MissionProcessInfoDTO(
) {
fun toVO(): MissionProcessInfoVO {
return MissionProcessInfoVO(
paymentConfirmationDate = paymentConfirmationDate,
codeReviewDate = codeReviewDate,
waitingForPaymentDate = waitingForPaymentDate,
missionProceedingDate = missionProceedingDate,
missionFinishedDate = missionFinishedDate,
feedbackReviewedDate = feedbackReviewedDate
paymentConfirmationDate = parseDate(paymentConfirmationDate),
codeReviewDate = parseDate(codeReviewDate),
waitingForPaymentDate = parseDate(waitingForPaymentDate),
missionProceedingDate = parseDate(missionProceedingDate),
missionFinishedDate = parseDate(missionFinishedDate),
feedbackReviewedDate = parseDate(feedbackReviewedDate)
)
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package com.lgtm.domain.entity.response

import java.io.Serializable
import java.time.LocalDateTime

data class MissionProcessInfoVO(
val waitingForPaymentDate: String?,
val paymentConfirmationDate: String?,
val missionProceedingDate: String?,
val codeReviewDate: String?,
val feedbackReviewedDate: String?,
val missionFinishedDate: String?
val waitingForPaymentDate: LocalDateTime?,
val paymentConfirmationDate: LocalDateTime?,
val missionProceedingDate: LocalDateTime?,
val codeReviewDate: LocalDateTime?,
val feedbackReviewedDate: LocalDateTime?,
val missionFinishedDate: LocalDateTime?,
) : Serializable

0 comments on commit 610c534

Please sign in to comment.