Spaces:
Sleeping
Sleeping
import { forwardRef, Module } from '@nestjs/common'; | |
import { OrderService } from './order.service.js'; | |
import { BranchOrderController, OrderController } from './order.controller.js'; | |
import { BranchModule } from '../branch/branch.module.js'; | |
import { BranchMenusModule } from '../branch-menus/branch-menus.module.js'; | |
import { PaymentModule } from '../../payment/payment.module.js'; | |
import { PaymentService } from '../../payment/payment.service.js'; | |
({ | |
imports: [BranchModule, BranchMenusModule], | |
controllers: [BranchOrderController, OrderController], | |
providers: [OrderService, PaymentService], | |
exports: [OrderService], | |
}) | |
export class OrderModule {} | |