mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
Dao作成 WIP
This commit is contained in:
parent
0439370bd0
commit
062e8c8bf9
|
@ -14,10 +14,14 @@ import one.nem.lacerta.source.database.entity.VcsLogEntity;
|
|||
import one.nem.lacerta.source.database.dao.TagDao;
|
||||
import one.nem.lacerta.source.database.dao.DocumentDao;
|
||||
import one.nem.lacerta.source.database.dao.LibraryDao;
|
||||
import one.nem.lacerta.source.database.dao.VcsRevDao;
|
||||
import one.nem.lacerta.source.database.dao.VcsLogDao;
|
||||
|
||||
@Database(entities = {TagEntity.class, DocumentEntity.class, LibraryEntity.class, VcsRevEntity.class, VcsLogEntity.class}, version = 1)
|
||||
public abstract class LacertaDatabase extends RoomDatabase {
|
||||
public abstract TagDao tagDao();
|
||||
public abstract DocumentDao documentDao();
|
||||
public abstract LibraryDao libraryDao();
|
||||
public abstract VcsRevDao vcsRevDao();
|
||||
public abstract VcsLogDao vcsLogDao();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user