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

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