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

import { WagonBookingAllocation } from './entities/wagon-booking-allocation.entity';

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