toggle menu
piper-kt
9.3.0
jvm
switch theme
search in API
servers-service
/
piperkt.services.servers.infrastructure.persistence.model
/
MessageEntity
Message
Entity
@
MappedEntity
data
class
MessageEntity
(
@
Id
val
id
:
String
,
val
content
:
String
,
val
sender
:
String
,
val
timestamp
:
String
=
Instant.now().toString()
)
Members
Constructors
Message
Entity
Link copied to clipboard
constructor
(
@
Id
id
:
String
,
content
:
String
,
sender
:
String
,
timestamp
:
String
=
Instant.now().toString()
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
content
Link copied to clipboard
val
content
:
String
id
Link copied to clipboard
val
id
:
String
sender
Link copied to clipboard
val
sender
:
String
timestamp
Link copied to clipboard
val
timestamp
:
String
Functions
to
Domain
Link copied to clipboard
fun
toDomain
(
)
:
ChannelMessage