using CartWise.Domain.Entities;
using Microsoft.EntityFrameworkCore;

namespace CartWise.Application.Interfaces;

public interface IApplicationDbContext
{
    DbSet<Household> Households { get; }

    DbSet<HouseholdMember> HouseholdMembers { get; }

    DbSet<ShoppingList> ShoppingLists { get; }

    DbSet<ShoppingListItem> ShoppingListItems { get; }

    Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
}
