import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Project, ContentPiece } from './entities';
import { ProjectService, ContentPieceService } from './services';
import { ProjectController, ContentPieceController } from './controllers';

@Module({
  imports: [TypeOrmModule.forFeature([Project, ContentPiece])],
  controllers: [ProjectController, ContentPieceController],
  providers: [ProjectService, ContentPieceService],
  exports: [ProjectService, ContentPieceService],
})
export class ProjectsModule {}
