Databaseクラス作成WIP

This commit is contained in:
r-ca 2023-12-13 18:43:16 +09:00
parent 6786fbf569
commit daef06810b
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -0,0 +1,14 @@
package one.nem.lacerta.source.db;
import androidx.room.Database;
import androidx.room.RoomDatabase;
import one.nem.lacerta.source.db.dao.DocumentsDao;
import one.nem.lacerta.source.db.entity.Documents;
import one.nem.lacerta.source.db.entity.Repositories;
@Database(entities = {Documents.class, Repositories.class}, version = 1)
public abstract class LacertaDatabase extends RoomDatabase {
public abstract DocumentsDao documentsDao();
public abstract RepositoriesDao repositoriesDao();
}