chore: setup repos for invoice

This commit is contained in:
Nathnael
2026-06-26 13:42:48 +00:00
parent aa59e30ea7
commit 15c37fea99
3 changed files with 35 additions and 2 deletions

View File

@@ -4,11 +4,14 @@ import { TypeOrmModule } from "@nestjs/typeorm";
import { BillingController } from "./billing.controller";
import { BillingService } from "./billing.service";
import { Invoice } from "./entities/invoice.entity";
import { InvoiceLine } from "./entities/invoice-line.entity";
import { InvoiceRepository } from "./invoice.repository";
import { InvoiceLineRepository } from "./invoice-line.repository";
@Module({
imports: [TypeOrmModule.forFeature([Invoice])],
imports: [TypeOrmModule.forFeature([Invoice, InvoiceLine])],
controllers: [BillingController],
providers: [BillingService],
providers: [BillingService, InvoiceRepository, InvoiceLineRepository],
exports: [BillingService],
})
export class BillingModule {}