Files
serverMontime/src/modules/business-services/business-services.module.ts
T

28 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-05-09 17:07:15 +03:30
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { BusinessEntity } from '../../entities/business.entity';
import { BusinessServiceEntity } from '../../entities/business-service.entity';
2026-05-31 21:36:19 +03:30
import { BusinessServiceClassEntity } from '../../entities/business-service-class.entity';
import { BusinessServiceClassPriceEntity } from '../../entities/business-service-class-price.entity';
2026-05-09 17:07:15 +03:30
import { ServiceTemplateEntity } from '../../entities/service-template.entity';
2026-05-11 13:33:00 +03:30
import { AuthModule } from '../auth/auth.module';
2026-05-09 17:07:15 +03:30
import { BusinessServicesController } from './business-services.controller';
import { BusinessServicesService } from './business-services.service';
@Module({
imports: [
TypeOrmModule.forFeature([
BusinessServiceEntity,
BusinessEntity,
ServiceTemplateEntity,
2026-05-31 21:36:19 +03:30
BusinessServiceClassEntity,
BusinessServiceClassPriceEntity,
2026-05-09 17:07:15 +03:30
]),
2026-05-11 13:33:00 +03:30
AuthModule,
2026-05-09 17:07:15 +03:30
],
controllers: [BusinessServicesController],
providers: [BusinessServicesService],
2026-05-25 21:37:01 +03:30
exports: [BusinessServicesService],
2026-05-09 17:07:15 +03:30
})
export class BusinessServicesModule {}