Skip to content

Commit

Permalink
Update Person.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
s148719 committed Nov 28, 2024
1 parent 32f54ef commit 14f03be
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,8 @@ open class Person(
)
open val rolle: MutableSet<Rolle> = mutableSetOf(),
) {
<<<<<<< HEAD
val personident get() = ident?.let { Personident(it) } ?: rolle.first().ident?.let { Personident(it) }

override fun toString(): String = "Person(id=$id, ident=$ident, navn=$navn, fødselsdato=$fødselsdato, opprettet=$opprettet)"
=======
override fun toString(): String =
"Person(id=$id, ident=$ident, navn=$navn, fødselsdato=$fødselsdato, opprettet=$opprettet, roller=$rolle)"
>>>>>>> main
}

0 comments on commit 14f03be

Please sign in to comment.