using Microsoft.EntityFrameworkCore;
using bitforum.Models;
using bitforum.Models.Page;
using bitforum.Models.Page.Faq;
using bitforum.Models.Page.Banner;
using bitforum.Models.User;

public class DefaultDbContext : DbContext
{
    public DefaultDbContext(DbContextOptions<DefaultDbContext> options) : base(options) { }

    // 공통 사항
    public DbSet<Config> Config { get; set; }
    public DbSet<Document> Document { get; set; }
    public DbSet<FaqCategory> FaqCategory { get; set; }
    public DbSet<FaqItem> FaqItem { get; set; }
    public DbSet<Popup> Popup { get; set; }
    public DbSet<BannerPosition> BannerPosition { get; set; }
    public DbSet<BannerItem> BannerItem { get; set; }

    // 회원
    public DbSet<Member> Member { get; set; }
    public DbSet<MemberApprove> MemberApprove { get; set; }
    public DbSet<MemberGrade> MemberGrade { get; set; }
}