forked from Ynov/ptitspas-ynov-back
13 lines
419 B
TypeScript
13 lines
419 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';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Children])],
|
|
controllers: [EnfantsController],
|
|
providers: [EnfantsService],
|
|
})
|
|
export class EnfantsModule {}
|