// Path: app/src/main/java/com/vsahin/moneycim/Model/Database/AppDatabase.java
// @Database(version = 1, entities = {RawSpending.class, SpendingGroup.class})
// @TypeConverters({Converters.class})
// public abstract class AppDatabase extends RoomDatabase{
// 
//     public abstract SpendingDao spendingDao();
//     public abstract SpendingGroupDao spendingGroupDao();
// 
// }


import android.app.Application;
import com.vsahin.moneycim.Model.Database.AppDatabase;
import javax.inject.Singleton;
import androidx.annotation.NonNull;
import androidx.room.Room;
import androidx.room.RoomDatabase;
import androidx.sqlite.db.SupportSQLiteDatabase;
import dagger.Module;
import dagger.Provides;
package com.vsahin.moneycim.Di.Modules;





@Module
public class DataModule {

    @Singleton
    @Provides
// Path: app/src/main/java/com/vsahin/moneycim/Model/Database/AppDatabase.java
// @Database(version = 1, entities = {RawSpending.class, SpendingGroup.class})
// @TypeConverters({Converters.class})
// public abstract class AppDatabase extends RoomDatabase{
// 
//     public abstract SpendingDao spendingDao();
//     public abstract SpendingGroupDao spendingGroupDao();
// 
// }


// Path: app/src/main/java/com/vsahin/moneycim/Di/Modules/DataModule.java
import android.app.Application;
import com.vsahin.moneycim.Model.Database.AppDatabase;
import javax.inject.Singleton;
import androidx.annotation.NonNull;
import androidx.room.Room;
import androidx.room.RoomDatabase;
import androidx.sqlite.db.SupportSQLiteDatabase;
import dagger.Module;
import dagger.Provides;

package com.vsahin.moneycim.Di.Modules;





@Module
public class DataModule {

    @Singleton
    @Provides
    AppDatabase provideAppDatabase(Application application){