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

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