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

import { TrainSetWagon } from './entities/train-set-wagon.entity';

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