import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { UsersModule } from './users/users.module';
import { AuthModule } from './auth/auth.module';
import { PrismaModule } from './prisma/prisma.module';
import { AttendanceModule } from './attendance/attendance.module';
import { ClientsModule } from './clients/clients.module';
import { MeetingsModule } from './meetings/meetings.module';
import { WhatsappModule } from './whatsapp/whatsapp.module';
import { ConfigModule } from '@nestjs/config';
import { ProductsModule } from './products/products.module';
import { EnquiriesModule } from './enquiries/enquiries.module';
import { ExpensesModule } from './expenses/expenses.module';
import { IncentivesModule } from './incentives/incentives.module';
import { QuotesModule } from './quotes/quotes.module';
import { FollowupsModule } from './followups/followups.module';
import { UploadModule } from './upload/upload.module';
import { OpportunitiesModule } from './opportunities/opportunities.module';
import { DashboardModule } from './dashboard/dashboard.module';
import { ReportsModule } from './reports/reports.module';
import { LocationsModule } from './locations/locations.module';
import { TargetsModule } from './targets/targets.module';
import { PerformanceModule } from './performance/performance.module';
import { ScheduleModule } from '@nestjs/schedule';
import { AutomationModule } from './automation/automation.module';
import { StrategicActivitiesModule } from './strategic-activities/strategic-activities.module';
import { WorkOrdersModule } from './work-orders/work-orders.module';
import { NotificationsModule } from './notifications/notifications.module';

@Module({
  imports: [
    ConfigModule.forRoot({ isGlobal: true }),
    ScheduleModule.forRoot(),
    UsersModule,
    AuthModule,
    PrismaModule,
    AttendanceModule,
    ClientsModule,
    MeetingsModule,
    WhatsappModule,
    ProductsModule,
    EnquiriesModule,
    ExpensesModule,
    IncentivesModule,
    QuotesModule,
    FollowupsModule,
    UploadModule,
    OpportunitiesModule,
    DashboardModule,
    ReportsModule,
    LocationsModule,
    TargetsModule,
    PerformanceModule,
    AutomationModule,
    StrategicActivitiesModule,
    WorkOrdersModule,
    NotificationsModule,
  ],
  controllers: [AppController],
  providers: [AppService],
})
export class AppModule { }
