mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 08:23:15 +00:00
継承忘れ
This commit is contained in:
parent
6e069a1579
commit
b463b61fd4
|
@ -1,6 +1,7 @@
|
||||||
package one.nem.lacerta.source.database;
|
package one.nem.lacerta.source.database;
|
||||||
|
|
||||||
import androidx.room.Database;
|
import androidx.room.Database;
|
||||||
|
import androidx.room.RoomDatabase;
|
||||||
|
|
||||||
// Entities
|
// Entities
|
||||||
import one.nem.lacerta.source.database.entity.Tag;
|
import one.nem.lacerta.source.database.entity.Tag;
|
||||||
|
@ -13,7 +14,7 @@ import one.nem.lacerta.source.database.dao.DocumentDao;
|
||||||
import one.nem.lacerta.source.database.dao.LibraryDao;
|
import one.nem.lacerta.source.database.dao.LibraryDao;
|
||||||
|
|
||||||
@Database(entities = {Tag.class, Document.class, Library.class}, version = 1)
|
@Database(entities = {Tag.class, Document.class, Library.class}, version = 1)
|
||||||
public abstract class LacertaDatabase {
|
public abstract class LacertaDatabase extends RoomDatabase {
|
||||||
public abstract TagDao tagDao();
|
public abstract TagDao tagDao();
|
||||||
public abstract DocumentDao documentDao();
|
public abstract DocumentDao documentDao();
|
||||||
public abstract LibraryDao libraryDao();
|
public abstract LibraryDao libraryDao();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user