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';
import { Character } from '../character/entities/character.entity';
import { QuestArc } from '../quest/quest-arc.entity';
import { PlayerQuestArc } from '../quest/player-quest-arc.entity';

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