import { Module } from '@nestjs/common';
import { BuildPartsService } from './build-parts.service';
import { BuildPartsResolver } from './build-parts.resolver';
import { MongooseModule } from '@nestjs/mongoose';
import { BuildParts, BuildPartsSchema } from '@/models/build-parts.model';
import { Build, BuildSchema } from '@/models/build.model';

@Module({
  imports: [MongooseModule.forFeature([
    { name: BuildParts.name, schema: BuildPartsSchema },
    { name: Build.name, schema: BuildSchema }])],
  providers: [BuildPartsService, BuildPartsResolver]
})
export class BuildPartsModule { }