import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Monster } from './monster.entity';
import { MonsterService } from './monster.service';
import { MonsterController } from './monster.controller';
import { AuthModule } from '../auth/auth.module';

@Module({
  imports: [TypeOrmModule.forFeature([Monster]), AuthModule],
  controllers: [MonsterController],
  providers: [MonsterService],
  exports: [MonsterService, TypeOrmModule],
})
export class MonsterModule {}
