mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
Databaseクラス作成WIP
This commit is contained in:
parent
6786fbf569
commit
daef06810b
|
@ -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();
|
||||
}
|
Loading…
Reference in New Issue
Block a user