All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.com.sceyt.chatuikit.persistence.entity.messages.LoadRangeEntity.kt Maven / Gradle / Ivy

There is a newer version: 1.7.2
Show newest version
package com.sceyt.chatuikit.persistence.entity.messages

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey

@Entity(
    tableName = "LoadRange",
    indices = [
        Index(value = ["startId", "channelId"], unique = true),
        Index(value = ["endId", "channelId"], unique = true)
    ])
data class LoadRangeEntity(
        @ColumnInfo(index = true)
        val startId: Long,
        @ColumnInfo(index = true)
        val endId: Long,
        @ColumnInfo(index = true)
        val channelId: Long,
        @PrimaryKey(autoGenerate = true)
        val rowId: Long = 0
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy