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

import { WarehouseAllocationRule } from './entities/warehouse-allocation-rule.entity';

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