import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ClassroomRental } from '../entities/classroom-rental.entity';
import { Classroom } from '../entities/classroom.entity';
import { Organization } from '../entities/organization.entity';
import { ClassSchedule } from '../entities/class-schedule.entity';
import { ClassroomRentalsService } from './classroom-rentals.service';
import { ClassroomRentalsController } from './classroom-rentals.controller';
import { OperationLogsModule } from '../operation-logs/operation-logs.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([ClassroomRental, Classroom, Organization, ClassSchedule]),
    OperationLogsModule,
  ],
  controllers: [ClassroomRentalsController],
  providers: [ClassroomRentalsService],
  exports: [ClassroomRentalsService],
})
export class ClassroomRentalsModule {}
