toggle menu
piper-kt
9.3.0
jvm
switch theme
search in API
friendships-service
/
piperkt.services.friendships.infrastructure.persistence.model
/
FriendshipEntity
Friendship
Entity
@
MappedEntity
data
class
FriendshipEntity
(
@
Id
val
id
:
String
,
val
users
:
Set
<
String
>
,
val
messages
:
List
<
MessageEntity
>
=
emptyList()
)
Members
Members & Extensions
Constructors
Friendship
Entity
Link copied to clipboard
constructor
(
@
Id
id
:
String
,
users
:
Set
<
String
>
,
messages
:
List
<
MessageEntity
>
=
emptyList()
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
id
Link copied to clipboard
val
id
:
String
messages
Link copied to clipboard
val
messages
:
List
<
MessageEntity
>
users
Link copied to clipboard
val
users
:
Set
<
String
>
Functions
to
Domain
Link copied to clipboard
fun
FriendshipEntity
.
toDomain
(
)
:
Friendship