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

namespace TestUserTypeApi.Repositories
{
  public   class msgonlinemapRepository : BaseRepository<T_Msg_Chat_Map, string>, IRepositories.ImsgonlinemapRepository
    {
        protected readonly ILogger<BaseRepository<T_Msg_Chat_Map, string>> _logger;
        protected readonly IMongoCollection<T_Msg_Chat_Map> _collection_MassageInfo;
        public msgonlinemapRepository(IOptions<MongodbOptions> settings, ILogger<BaseRepository<T_Msg_Chat_Map, string>> logger) : base(settings, logger)
        {
            _collection_MassageInfo = _context.GetCollection<T_Msg_Chat_Map>();
            _logger = logger;
        }
    }
}
