source: WIP Database

This commit is contained in:
r-ca 2023-12-14 02:58:48 +09:00
parent e19bfb7f09
commit 26df200fe4
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -1,4 +1,20 @@
package one.nem.lacerta.source.database;
public class LacertaDatabase {
import androidx.room.Database;
// Entities
import one.nem.lacerta.source.database.entity.Tag;
import one.nem.lacerta.source.database.entity.Document;
import one.nem.lacerta.source.database.entity.Library;
// Daos
import one.nem.lacerta.source.database.dao.TagDao;
import one.nem.lacerta.source.database.dao.DocumentDao;
import one.nem.lacerta.source.database.dao.LibraryDao;
@Database(entities = {Tag.class, Document.class, Library.class}, version = 1)
public abstract class LacertaDatabase {
public abstract TagDao tagDao();
public abstract DocumentDao documentDao();
public abstract LibraryDao libraryDao();
}