import { Module } from '@nestjs/common';
import { AssistantesMaternellesService } from './assistantes_maternelles.service';
import { AssistantesMaternellesController } from './assistantes_maternelles.controller';
import { AssistanteMaternelle } from 'src/entities/assistantes_maternelles.entity';
import { AmChildren } from 'src/entities/am_children.entity';
import { Children } from 'src/entities/children.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Users } from 'src/entities/users.entity';
import { AuthModule } from '../auth/auth.module';

@Module({
  imports: [TypeOrmModule.forFeature([AssistanteMaternelle, AmChildren, Children, Users]),
    AuthModule
  ],
  controllers: [AssistantesMaternellesController],
  providers: [AssistantesMaternellesService],
  exports: [
    AssistantesMaternellesService,
    TypeOrmModule,
  ],
})
export class AssistantesMaternellesModule { }
