import { Module } from "@nestjs/common";
import { EmailToIdResolver } from "src/common/mappers/email-id.mapper";
import { PrismaPostgresService } from "prisma/postgres/prisma-postgres.service";
import { BankedHoursService } from "src/time-and-attendance/domains/services/banking-hours.service";
import { SickLeaveService } from "src/time-and-attendance/domains/services/sick-leave.service";
import { VacationService } from "src/time-and-attendance/domains/services/vacation.service";
import { PaidTimeOffController } from "src/time-and-attendance/paid-time-off/paid-time-off.controller";
import { PaidTimeOffBankHoursService } from "src/time-and-attendance/paid-time-off/paid-time-off.service";

@Module({
    controllers: [
        PaidTimeOffController
    ],
    providers: [
        PrismaPostgresService,
        EmailToIdResolver,
        PaidTimeOffBankHoursService,
        VacationService,
        SickLeaveService,
        BankedHoursService,
    ],
    exports: [
        PaidTimeOffBankHoursService,
    ],
}) export class PaidTimeOffModule { }