import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { PhotosService } from './photos.service';
import { PhotosController } from './photos.controller';
import { Photo, AuditLog } from '../../database/entities';
import { StorageService } from '../../common/services/storage.service';
import { AuditService } from '../../common/services/audit.service';

@Module({
  imports: [TypeOrmModule.forFeature([Photo, AuditLog])],
  controllers: [PhotosController],
  providers: [PhotosService, StorageService, AuditService],
  exports: [PhotosService],
})
export class PhotosModule {}
