14 lines
451 B
TypeScript
14 lines
451 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { BookingsController } from './bookings.controller';
|
|
import { BookingsService } from './bookings.service';
|
|
import { Booking } from './entities/booking.entity';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Booking])],
|
|
controllers: [BookingsController],
|
|
providers: [BookingsService],
|
|
exports: [BookingsService],
|
|
})
|
|
export class BookingsModule {}
|