MessageWithId

data class MessageWithId(val id: Int, val message: Message)

Represents a wrapper around message-dto with it's assigned id from the database.

Constructors

Link copied to clipboard
constructor(id: Int, message: Message)

Properties

Link copied to clipboard
val id: Int

The id of the Message, which has been assigned to it by the database.

Link copied to clipboard

The message-dto.