import { Module } from '@nestjs/common';
import { LivingSpaceService } from './living-space.service';
import { LivingSpaceResolver } from './living-space.resolver';
import { MongooseModule } from '@nestjs/mongoose';
import { LivingSpaces, LivingSpacesSchema } from '@/models/living-spaces.model';
import { UserType, UserTypeSchema } from '@/models/user-type.model';

@Module({
  imports: [MongooseModule.forFeature([
    { name: LivingSpaces.name, schema: LivingSpacesSchema },
    { name: UserType.name, schema: UserTypeSchema },
  ])],
  providers: [LivingSpaceService, LivingSpaceResolver]
})
export class LivingSpaceModule { }
