11 lines
374 B
Kotlin
11 lines
374 B
Kotlin
package com.simplemobiletools.smsmessenger.models
|
|
|
|
import androidx.room.ColumnInfo
|
|
import androidx.room.Entity
|
|
import androidx.room.PrimaryKey
|
|
|
|
@Entity(tableName = "message_attachments")
|
|
data class MessageAttachment(
|
|
@PrimaryKey val id: Long,
|
|
@ColumnInfo(name = "text") var text: String,
|
|
@ColumnInfo(name = "attachments") var attachments: ArrayList<Attachment>)
|