toggle menu
piper-kt
9.3.0
jvm
switch theme
search in API
friendships-service
/
piperkt.services.friendships.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
Members & Extensions
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
MessageEntity
.
toDomain
(
)
:
Message