import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Character } from '../character/entities/character.entity';
import { CombatLog } from './combat-log.entity';
import { CombatService } from './combat.service';
import { CombatController } from './combat.controller';
import { MonsterModule } from '../monster/monster.module';
import { AuthModule } from '../auth/auth.module';
import { ItemModule } from '../item/item.module';
import { MaterialModule } from '../material/material.module';
import { CommunityModule } from '../community/community.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([Character, CombatLog]),
    MonsterModule,
    AuthModule,
    ItemModule,
    MaterialModule,
    CommunityModule,
  ],
  controllers: [CombatController],
  providers: [CombatService],
})
export class CombatModule {}
