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

namespace DistributionApi.Repositories
{
    public class Sys_DepartmentRepository : BaseRepository<Sys_Department, string>, ISys_DepartmentRepository
    {
        protected readonly ILogger<BaseRepository<Sys_Department, string>> _logger;
        //protected readonly IMongoCollection<Pro_Project_Info> _collection_pro_project_info;
        //protected readonly IMongoCollection<Sys_Floor> _collection_sys_floor;
        public Sys_DepartmentRepository(IOptions<MongodbOptions> settings, ILogger<BaseRepository<Sys_Department, string>> logger) : base(settings, logger)
        {
            //_collection_pro_project_info = _context.GetCollection<Pro_Project_Info>();//获取集合
            //_collection_sys_floor = _context.GetCollection<Sys_Floor>();
            _logger = logger;
        }
    }
}
