using LifePayment.Domain.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Volo.Abp.Auditing; using Volo.Abp.DependencyInjection; using Volo.Abp.Domain.Entities; using Volo.Abp.Domain.Repositories; using Volo.Abp.Users; namespace LifePayment.Domain.Common { public abstract class AbstractChannelFilter : IChannelFilter, ISingletonDependency { public IAbpLazyServiceProvider LazyServiceProvider { get; set; } protected ICurrentUser CurrentUser => LazyServiceProvider.LazyGetRequiredService(); protected IRepository UserChannleRepository => LazyServiceProvider.LazyGetRequiredService>(); public abstract IQueryable GetChannelLifePayOrderFilter(IQueryable query); public abstract IQueryable GetChannelLifePayUserFilter(IQueryable query); } }