using DistributionApi.IRepositories;
using MadRunFabric.Common;
using MadRunFabric.Common.Options;
using MadRunFabric.Model;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Text;

namespace DistributionApi.Repositories
{
    public class Sys_Role_InfoRepository : BaseRepository<Sys_Role_Info, string>, ISys_Role_InfoRepository
    {
        protected readonly ILogger<BaseRepository<Sys_Role_Info, string>> _logger;
        protected readonly IMongoCollection<Sys_Role_Info> _collection_sys_role_info;
        public Sys_Role_InfoRepository(IOptions<MongodbOptions> settings, ILogger<BaseRepository<Sys_Role_Info, string>> logger) : base(settings, logger)
        {
            _collection_sys_role_info = _context.GetCollection<Sys_Role_Info>();  //获取集合
            _logger = logger;
        }


    }
}
