toggle menu
piper-kt
9.3.0
jvm
switch theme
search in API
multimedia-service
/
piperkt.services.multimedia.infrastructure.persistence.model
/
ServerEntity
Server
Entity
@
MappedEntity
data
class
ServerEntity
(
@
Id
val
id
:
String
,
@
NotEmpty
val
participants
:
List
<
String
>
,
val
channels
:
List
<
ChannelEntity
>
=
emptyList()
)
Entity for servers
Members
Members & Extensions
Constructors
Server
Entity
Link copied to clipboard
constructor
(
@
Id
id
:
String
,
@
NotEmpty
participants
:
List
<
String
>
,
channels
:
List
<
ChannelEntity
>
=
emptyList()
)
Properties
channels
Link copied to clipboard
val
channels
:
List
<
ChannelEntity
>
id
Link copied to clipboard
val
id
:
String
participants
Link copied to clipboard
val
participants
:
List
<
String
>
Functions
to
Domain
Link copied to clipboard
fun
ServerEntity
.
toDomain
(
)
:
Server