📅  最后修改于: 2022-03-11 14:58:45.193000             🧑  作者: Mango
代码示例1
@Database(entities = arrayOf(User::class), version = 1)
abstract class UserDatabase : RoomDatabase() {
abstract fun userDao(): UserDao
}