toggle menu
piper-kt
9.3.0
jvm
switch theme
search in API
servers-service
/
piperkt.services.servers.infrastructure.persistence.model
/
ChannelEntity
Channel
Entity
@
MappedEntity
data
class
ChannelEntity
(
@
Id
val
id
:
String
,
val
name
:
String
,
val
description
:
String
,
val
channelType
:
String
,
val
messages
:
List
<
MessageEntity
>
=
emptyList()
)
Members
Constructors
Channel
Entity
Link copied to clipboard
constructor
(
@
Id
id
:
String
,
name
:
String
,
description
:
String
,
channelType
:
String
,
messages
:
List
<
MessageEntity
>
=
emptyList()
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
channel
Type
Link copied to clipboard
val
channelType
:
String
description
Link copied to clipboard
val
description
:
String
id
Link copied to clipboard
val
id
:
String
messages
Link copied to clipboard
val
messages
:
List
<
MessageEntity
>
name
Link copied to clipboard
val
name
:
String
Functions
to
Domain
Link copied to clipboard
fun
toDomain
(
)
:
Channel