forked from Ynov/ptitspas-ynov-back
18 lines
642 B
TypeScript
18 lines
642 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { EnfantsController } from './enfants.controller';
|
|
import { EnfantsService } from './enfants.service';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { Children } from 'src/entities/children.entity';
|
|
import { Parents } from 'src/entities/parents.entity';
|
|
import { ParentsChildren } from 'src/entities/parents_children.entity';
|
|
import { AuthModule } from '../auth/auth.module';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Children, Parents, ParentsChildren]),
|
|
AuthModule
|
|
],
|
|
controllers: [EnfantsController],
|
|
providers: [EnfantsService],
|
|
})
|
|
export class EnfantsModule { }
|