import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { InviteCode, InviteCodeUse, AdminUser } from './invite-codes.entity';
import { InviteCodesService } from './invite-codes.service';
import { InviteCodesController, PublicInviteCodesController } from './invite-codes.controller';

@Module({
  imports: [TypeOrmModule.forFeature([InviteCode, InviteCodeUse, AdminUser])],
  controllers: [InviteCodesController, PublicInviteCodesController],
  providers: [InviteCodesService],
  exports: [InviteCodesService],
})
export class InviteCodesModule {}