11 lines
364 B
Kotlin
11 lines
364 B
Kotlin
|
|
package relax.offline.music.database
|
|
|
|
import androidx.room.Database
|
|
import androidx.room.RoomDatabase
|
|
import relax.offline.music.bean.CurrentPlayingAudio
|
|
|
|
@Database(entities = [CurrentPlayingAudio::class], version = 1, exportSchema = false)
|
|
abstract class CurrentAudioDatabase : RoomDatabase() {
|
|
abstract fun currentPlayingAudioDao(): CurrentPlayingAudioDao
|
|
} |