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

import { Invoice } from "./entities/invoice.entity";

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