Skip to content

Commit

Permalink
Merge pull request #266 from TeamDon-tBe/fix/#265-dto-isPushAlarmAllowed
Browse files Browse the repository at this point in the history
[#265/FIX] : ispushalarmaloowed 추가
  • Loading branch information
sohyun127 authored May 22, 2024
2 parents c5bfd36 + 53d7221 commit 9d9620d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ data class RequestProfileEditDto(
@SerialName("is_alarm_allowed") val isAlarmAllowed: Boolean?,
@SerialName("member_intro") val memberIntro: String,
@SerialName("profile_url") val profileUrl: String?,
@SerialName("isPushAlarmAllowed") val isPushAlarmAllowed: Boolean? = null,
)
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ data class ResponseLoginDto(
val memberProfileUrl: String,
@SerialName("isNewUser")
val isNewUser: Boolean,
@SerialName("isPushAlarmAllowed")
val isPushAlarmAllowed: Boolean?,
) {
fun toLoginDataEntity() =
LoginEntity(
Expand All @@ -27,5 +29,6 @@ data class ResponseLoginDto(
refreshToken,
memberProfileUrl,
isNewUser,
isPushAlarmAllowed,
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ data class LoginEntity(
val refreshToken: String,
val memberProfileUrl: String,
val isNewUser: Boolean,
val isPushAlarmAllowed: Boolean?,
)

0 comments on commit 9d9620d

Please sign in to comment.