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 { ServicesModule } from '../services/services.module'; import { SmsSettingsModule } from '../sms-settings/sms-settings.module'; import { StylistsModule } from '../stylists/stylists.module'; import { ReserveItem } from './entities/reserve-item.entity'; import { ReserveStatusHistory } from './entities/reserve-status-history.entity'; import { Reserve } from './entities/reserve.entity'; import { ReservesController } from './reserves.controller'; import { ReservesService } from './reserves.service'; @Module({ imports: [ TypeOrmModule.forFeature([ Reserve, ReserveItem, ReserveStatusHistory, Service, ServiceSkill, ]), SalonsModule, CustomersModule, StylistsModule, ServicesModule, AuthorizationModule, AuthGuardsModule, SmsSettingsModule, ], controllers: [ReservesController], providers: [ReservesService], exports: [ReservesService], }) export class ReservesModule {}