Note

constructor()

Default constructor


constructor(id: String, author: PandoroUser, content: String, creationDate: Long, markedAsDone: Boolean, markedAsDoneBy: PandoroUser, markAsDoneDate: Long)

Constructor to init a Note object

Parameters

id

: the identifier of the note

content

: the content of the note

creationDate

:when the note has been created

markedAsDone

: whether the note is marked as done

markedAsDoneBy

: who marked the note as done

markAsDoneDate

:markedAsDoneDate when the note has been marked as done