using System;
using System.Collections.Generic;
using System.Text;
using Mall.Model.Extend.User;
using Mall.Repository;

namespace Mall.Module.User
{
    /// <summary>
    /// 插件处理类
    /// </summary>
    public class PlugInModule
    {
        /// <summary>
        /// 插件仓储层对象
        /// </summary>
        private readonly Repository.User.RB_PlugInRepository plugInRepository = new Repository.User.RB_PlugInRepository();

        /// <summary>
        /// 根据查询条件获取插件列表
        /// </summary>
        /// <param name="query">查询条件</param>
        /// <returns></returns>
        public List<RB_PlugIn_Extend> GetPlugInListModule(RB_PlugIn_Extend query)
        {
            return plugInRepository.GetListRepository(query);
        }
    }
}
