You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
540 B
14 lines
540 B
import { Module, forwardRef } from "@nestjs/common"; |
|
import { SequelizeModule } from "@nestjs/sequelize"; |
|
import { InvoiceController } from "./invoice.controller"; |
|
import { InvoiceService } from "./invoice.service"; |
|
import { Invoice } from "./entities/invoice.entity"; |
|
import { CartModule } from "src/cart/cart.module"; |
|
|
|
@Module({ |
|
imports: [SequelizeModule.forFeature([Invoice]), forwardRef(()=>CartModule)], |
|
controllers: [InvoiceController], |
|
providers: [InvoiceService], |
|
exports: [InvoiceService], |
|
}) |
|
export class InvoiceModule {}
|
|
|