import { Module } from '@nestjs/common';
import { BuildAreaResolver } from './build-area.resolver';
import { BuildAreaService } from './build-area.service';
import { MongooseModule } from '@nestjs/mongoose';
import { BuildArea, BuildAreaSchema } from '@/models/build-area.model';
import { Build, BuildSchema } from '@/models/build.model';

@Module({
  imports: [MongooseModule.forFeature([
    { name: BuildArea.name, schema: BuildAreaSchema },
    { name: Build.name, schema: BuildSchema }
  ])],
  providers: [BuildAreaResolver, BuildAreaService]
})
export class BuildAreaModule { }
