Advertisement
nauk0a

Untitled

Jul 21st, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.32 KB | None | 0 0
  1. package com.nauka.room
  2.  
  3. import androidx.room.Database
  4. import androidx.room.RoomDatabase
  5.  
  6. @Database(entities = [Employee::class,Address::class], version = 1,exportSchema = false)
  7. abstract class AppDatabase: RoomDatabase(){
  8.     abstract fun getEmployeeDao(): EmployeeDao
  9.     abstract fun getAddressDao(): AddressDao
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement