Message

class Message(val id: MessageId = MessageId(), val sender: String, val content: String, val timestamp: Instant) : Entity<MessageId>

Constructors

Link copied to clipboard
constructor(id: MessageId = MessageId(), sender: String, content: String, timestamp: Instant)

Properties

Link copied to clipboard
Link copied to clipboard
open override val id: MessageId
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int