import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Recipe } from './recipe.entity';
import { CraftJob } from './craft-job.entity';
import { CraftService } from './craft.service';
import { CraftController } from './craft.controller';
import { AuthModule } from '../auth/auth.module';
import { ItemModule } from '../item/item.module';
import { MaterialModule } from '../material/material.module';
import { Character } from '../character/entities/character.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([Recipe, CraftJob, Character]),
    AuthModule,
    ItemModule,
    MaterialModule,
  ],
  controllers: [CraftController],
  providers: [CraftService],
})
export class CraftModule {}
