import { BaseRepository } from '@edr/api-common';
import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';

import { TrainScheduleBooking } from './entities/train-schedule-booking.entity';

@Injectable()
export class TrainScheduleBookingsRepository extends BaseRepository<TrainScheduleBooking> {
  constructor(
    @InjectRepository(TrainScheduleBooking)
    repository: Repository<TrainScheduleBooking>,
  ) {
    super(repository);
  }
}
