You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
419 B
21 lines
419 B
package com.keylesspalace.tusky.db
|
|
|
|
import androidx.room.Entity
|
|
|
|
/*
|
|
* ChatMessage model
|
|
*/
|
|
|
|
@Entity(
|
|
primaryKeys = ["localId", "messageId"]
|
|
)
|
|
data class ChatMessageEntity(
|
|
val localId: Long,
|
|
val messageId: String,
|
|
val content: String?,
|
|
val chatId: String,
|
|
val accountId: String,
|
|
val createdAt: Long,
|
|
val attachment: String?,
|
|
val emojis: String
|
|
) |