package com.optix.android.data.local

import androidx.room.Database
import androidx.room.RoomDatabase
import com.optix.android.data.local.entities.AuditLogEntity
import com.optix.android.data.local.entities.NodeEntity
import com.optix.android.data.local.entities.SessionEntity
import com.optix.android.data.local.entities.WorkflowEntity

@Database(
    entities = [SessionEntity::class, NodeEntity::class, WorkflowEntity::class, AuditLogEntity::class],
    version = 4,
    exportSchema = false,
)
abstract class AppDatabase : RoomDatabase() {
    abstract fun sessionDao(): SessionDao
    abstract fun nodeDao(): NodeDao
    abstract fun workflowDao(): WorkflowDao
    abstract fun auditLogDao(): AuditLogDao
}
