33 lines
808 B
C#
33 lines
808 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using Prefab.Catalog.Domain.Entities;
|
|
using Prefab.Data;
|
|
|
|
namespace Prefab.Catalog.Data;
|
|
|
|
public interface IModuleDb : IPrefabDb
|
|
{
|
|
static string SchemaName => nameof(Catalog).ToLower();
|
|
|
|
DbSet<Category> Categories { get; }
|
|
|
|
DbSet<Product> Products { get; }
|
|
|
|
DbSet<OptionDefinition> OptionDefinitions { get; }
|
|
|
|
DbSet<OptionValue> OptionValues { get; }
|
|
|
|
DbSet<OptionTier> OptionTiers { get; }
|
|
|
|
DbSet<OptionRuleSet> OptionRuleSets { get; }
|
|
|
|
DbSet<OptionRuleCondition> OptionRuleConditions { get; }
|
|
|
|
DbSet<VariantAxisValue> VariantAxisValues { get; }
|
|
|
|
DbSet<AttributeDefinition> AttributeDefinitions { get; }
|
|
|
|
DbSet<ProductAttributeValue> ProductAttributeValues { get; }
|
|
|
|
DbSet<ProductCategory> ProductCategories { get; }
|
|
}
|