Skip to content

Commit

Permalink
refactor(models/author): delete unnecessary default value
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin committed Dec 9, 2024
1 parent 1071f67 commit b1dcdd0
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package net.yoshinorin.qualtet.domains.authors

import java.time.ZonedDateTime
import com.github.plokhotnyuk.jsoniter_scala.macros.*
import com.github.plokhotnyuk.jsoniter_scala.core.*

final case class AuthorResponseModel(
id: AuthorId = AuthorId.apply(),
id: AuthorId,
name: AuthorName,
displayName: AuthorDisplayName,
createdAt: Long = ZonedDateTime.now.toEpochSecond
createdAt: Long
)

object AuthorResponseModel {
Expand Down

0 comments on commit b1dcdd0

Please sign in to comment.