// otp.module.ts

import { Module } from "@nestjs/common";

import { TypeOrmModule } from "@nestjs/typeorm";

import { OtpVerification } from "./otp.entity";

import { OtpController } from "./otp.controller";

import { OtpService } from "./otp.service";

import { OtpRepository } from "./otp.repository";

@Module({
  imports: [
    TypeOrmModule.forFeature([
      OtpVerification,
    ]),
  ],

  controllers: [OtpController],

  providers: [
    OtpService,
    OtpRepository,
  ],

  exports: [
    OtpRepository,
  ],
})
export class OtpModule {}