package com.taf.waf.db import androidx.room.Dao import androidx.room.Delete import androidx.room.Insert import androidx.room.Query @Dao interface PendingOhsIncidentDao { @Query("SELECT * FROM pending_ohs_incidents") suspend fun getAll(): List @Insert suspend fun insert(incident: PendingOhsIncident) @Delete suspend fun delete(incident: PendingOhsIncident) } @Dao interface PendingSafetyIncidentDao { @Query("SELECT * FROM pending_safety_incidents") suspend fun getAll(): List @Insert suspend fun insert(incident: PendingSafetyIncident) @Delete suspend fun delete(incident: PendingSafetyIncident) }