package com.develop.common.data_repo.db

import androidx.room.Database
import androidx.room.RoomDatabase
import com.develop.common.data_repo.db.dao.FoodConfigDao
import com.develop.common.data_repo.db.dao.FoodRecipeDao
import com.develop.common.data_repo.db.entity.*

@Database(
    entities = [
        DevAccessory::class,
        DevHotTag::class,
        DevPortrait::class,
        DevRecipe::class,
        DevRecipeAccessory::class,
        DevRecipeCategory::class,
        DevRecipeCookingStep::class,
        DevRecipeFood::class,
        DevRecipeNutrition::class,
        DevRecipePortionSize::class,
        DevRecipeRelTag::class,
        DevRecipeTag::class
    ], version = 1, exportSchema = false
)
abstract class FoodDatabase : RoomDatabase() {

    abstract fun recipeDao(): FoodRecipeDao

    abstract fun configDao(): FoodConfigDao

}