import { BaseRepository } from '@edr/api-common';
import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { Wagon } from './entities/wagon.entity';

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