using Microsoft.EntityFrameworkCore;
using RoyalRoad.Core.Categories;
using RoyalRoad.Core.Products;
using RoyalRoad.Core.Profiles;
using RoyalRoad.Core.Statuses;

namespace RoyalRoad.Infrastructure {
  public class DbSchema : DbContext {
    public DbSchema(DbContextOptions opt) : base(opt) { }

    internal DbSet<CategoryEntity> Categories { get; set; }
    internal DbSet<RawProfileEntity> RawProfiles { get; set; }
    internal DbSet<StdProfileEntity> StdProfiles { get; set; }
    internal DbSet<ProfileEntity> Profiles { get; set; }
    internal DbSet<RawProductEntity> RawProducts { get; set; }
    internal DbSet<StdProductEntity> StdProducts { get; set; }
    internal DbSet<ProductEntity> Products { get; set; }
    internal DbSet<RawStatusEntity> RawStatuses { get; set; }
    internal DbSet<StdStatusEntity> StdStatuses { get; set; }
    internal DbSet<StatusEntity> Statuses { get; set; }
  }
}