using Microsoft.EntityFrameworkCore;
using Domain.Entities.Common;
using Domain.Entities.Page;
using Domain.Entities.Page.Faq;
using Domain.Entities.Page.Banner;

namespace Application.Abstractions.Data
{
    public interface IAppDbContext
    {
        DbSet<Config> Config { get; set;  }
        DbSet<Document> Document { get; set;  }
        DbSet<Popup> Popup { get; set;  }
        DbSet<FaqCategory> FaqCategory { get; set;  }
        DbSet<FaqItem> FaqItem { get; set;  }
        DbSet<BannerPosition> BannerPosition { get; set;  }
        DbSet<BannerItem> BannerItem { get; set;  }

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