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

import { Warehouse } from './entities/warehouse.entity';

@Injectable()
export class WarehousesRepository extends BaseRepository<Warehouse> {
  constructor(@InjectRepository(Warehouse) repository: Repository<Warehouse>) {
    super(repository);
  }
}
