using Lada.Framework.Data.Domains.OrderBusiness;
using Lada.Framework.Data.Mappings.EntityMappings.OrderBusiness;
using Microsoft.EntityFrameworkCore;

namespace Lada.Framework.Data.Mappings.DbContexts
{
    public partial class LadaDbContext
    {
        public virtual DbSet<OrderFailReason> OrderFailReasons { get; set; }

        private void ApplyOrderBusinessMappings(ModelBuilder builder)
        {
            builder
                .RegisterEntityMapping<OrderFailReason, OrderFailReasonMap>();
        }
    }
}
