import { Module } from '@nestjs/common';
import { PrismaModule } from 'src/core/database/prisma.module';
import { CarEntityService } from './car-entity/car-entity.service';
import { AnomalyRepository } from './entities/anomaly/anomaly.repository';
import { AnomalyService } from './entities/anomaly/anomaly.service';
import { AttendanceRegistrationRepository } from './entities/attendance-registration/attendance-registration.repository';
import { AttendanceRegistrationService } from './entities/attendance-registration/attendance-registration.service';
import { EmployeeRepository } from './entities/employee/employee.repository';
import { EmployeeService } from './entities/employee/employee.service';
import { PatientRepository } from './entities/patient/patient.repository';
import { PatientService } from './entities/patient/patient.service';
import { PlannedTimeRepository } from './entities/planned-time/planned-time.repository';
import { PlannedTimeService } from './entities/planned-time/planned-time.service';
import { TariffRepository } from './entities/tariff/tariff.repository';
import { TariffService } from './entities/tariff/tariff.service';
import { TicketRepository } from './entities/ticket/ticket.repository';
import { TicketService } from './entities/ticket/ticket.service';
import { TourRepository } from './entities/tour/tour.repository';
import { TourService } from './entities/tour/tour.service';
import { WorkTimeRepository } from './entities/work-time/work-time.repository';
import { WorkTimeService } from './entities/work-time/work-time.service';

@Module({
  imports: [PrismaModule],
  exports: [
    CarEntityService,
    AnomalyService,
    AttendanceRegistrationService,
    EmployeeService,
    PatientService,
    PlannedTimeService,
    TariffService,
    TicketService,
    TourService,
    WorkTimeService,
  ],
  providers: [
    CarEntityService,
    AnomalyRepository,
    AnomalyService,
    AttendanceRegistrationRepository,
    AttendanceRegistrationService,
    EmployeeRepository,
    EmployeeService,
    PatientRepository,
    PatientService,
    PlannedTimeRepository,
    PlannedTimeService,
    TariffRepository,
    TariffService,
    TicketRepository,
    TicketService,
    TourRepository,
    TourService,
    WorkTimeRepository,
    WorkTimeService,
  ],
})
export class FeatBusinessObjectsModule {}
