mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 21:50:57 +00:00
16 lines
433 B
TypeScript
16 lines
433 B
TypeScript
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);
|
|
}
|
|
}
|