import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AuthModule } from '../auth/auth.module';
import { Category } from '../third-party/entities/category.entity';
import { Course } from '../third-party/entities/course.entity';
import { ThirdPartyModule } from '../third-party/third-party.module';
import { CatalogController } from './catalog.controller';
import { CatalogService } from './catalog.service';

@Module({
  imports: [
    AuthModule,
    ThirdPartyModule,
    TypeOrmModule.forFeature([Category, Course]),
  ],
  controllers: [CatalogController],
  providers: [CatalogService],
})
export class CatalogModule {}
