Skip to content

Commit

Permalink
chore: (#261) 잘못된 null 체크 및 기본 값 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
softpeanut committed Dec 30, 2022
1 parent a91a84b commit fd004b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import java.util.UUID
* @version 1.1.0
**/
data class Notification(
val id: UUID,
val id: UUID = UUID(0, 0),

val title: String,

Expand All @@ -22,5 +22,5 @@ data class Notification(

val identify: UUID?,

val createdAt: LocalDateTime
val createdAt: LocalDateTime = LocalDateTime.now()
)
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ import java.util.UUID
data class NotificationReceiver(
val userId: UUID,
val notificationId: UUID,
val checkedAt: LocalDateTime
val checkedAt: LocalDateTime? = null
)

0 comments on commit fd004b0

Please sign in to comment.