reserves module

This commit is contained in:
2026-06-29 08:39:34 +03:30
parent 127c1eaf78
commit d8086cab17
15 changed files with 871 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AuthGuardsModule } from '../auth/auth-guards.module';
import { AuthorizationModule } from '../authorization/authorization.module';
import { CustomersModule } from '../customers/customers.module';
import { SalonsModule } from '../salons/salons.module';
import { ServiceSkill } from '../services/entities/service-skill.entity';
import { Service } from '../services/entities/service.entity';
import { StylistsModule } from '../stylists/stylists.module';
import { ReserveItem } from './entities/reserve-item.entity';
import { Reserve } from './entities/reserve.entity';
import { ReservesController } from './reserves.controller';
import { ReservesService } from './reserves.service';
@Module({
imports: [
TypeOrmModule.forFeature([Reserve, ReserveItem, Service, ServiceSkill]),
SalonsModule,
CustomersModule,
StylistsModule,
AuthorizationModule,
AuthGuardsModule,
],
controllers: [ReservesController],
providers: [ReservesService],
exports: [ReservesService],
})
export class ReservesModule {}