From daef06810bd4b0e42e6e6a0d7d184ff777ee18e6 Mon Sep 17 00:00:00 2001 From: r-ca Date: Wed, 13 Dec 2023 18:43:16 +0900 Subject: [PATCH] =?UTF-8?q?Database=E3=82=AF=E3=83=A9=E3=82=B9=E4=BD=9C?= =?UTF-8?q?=E6=88=90WIP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one/nem/lacerta/source/db/LacertaDatabase.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 data/src/main/java/one/nem/lacerta/source/db/LacertaDatabase.java diff --git a/data/src/main/java/one/nem/lacerta/source/db/LacertaDatabase.java b/data/src/main/java/one/nem/lacerta/source/db/LacertaDatabase.java new file mode 100644 index 00000000..6c1bf258 --- /dev/null +++ b/data/src/main/java/one/nem/lacerta/source/db/LacertaDatabase.java @@ -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(); +}