import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Parents } from 'src/entities/parents.entity';
import { ParentsController } from './parents.controller';
import { ParentsService } from './parents.service';
import { Users } from 'src/entities/users.entity';

@Module({
    imports: [TypeOrmModule.forFeature([Parents, Users])],
    controllers: [ParentsController],
    providers: [ParentsService],
    exports: [ParentsService,
        TypeOrmModule,
    ],
})
export class ParentsModule { }