import { Module } from '@nestjs/common';
import { ContactService } from './providers/contact.service';
import { ContactController } from './controllers/contact.controller';
import { MikroOrmModule } from '@mikro-orm/nestjs';
import { Contact } from './entities/contact.entity';
import { ContactRepository } from './repositories/contact.repository';
import { JwtModule } from '@nestjs/jwt';

@Module({
  imports: [MikroOrmModule.forFeature([Contact]), JwtModule],
  controllers: [ContactController],
  providers: [ContactService, ContactRepository],
  exports: [ContactRepository],
})
export class ContactModule {}
