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

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

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