mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-28 09:00:57 +00:00
18 lines
686 B
TypeScript
18 lines
686 B
TypeScript
import { Module } from "@nestjs/common";
|
|
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, InvoiceLine])],
|
|
controllers: [BillingController],
|
|
providers: [BillingService, InvoiceRepository, InvoiceLineRepository],
|
|
exports: [BillingService],
|
|
})
|
|
export class BillingModule {}
|