2025-09-09 21:19:17 -04:00
|
|
|
import { Module } from '@nestjs/common';
|
|
|
|
|
import { StudentService } from './student.service';
|
|
|
|
|
import { StudentController } from './student.controller';
|
2025-09-14 17:51:17 -06:00
|
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
|
import { Student } from './entities/student.entity';
|
2025-09-09 21:19:17 -04:00
|
|
|
|
|
|
|
|
@Module({
|
2025-09-14 17:51:17 -06:00
|
|
|
imports: [TypeOrmModule.forFeature([Student])],
|
2025-09-09 21:19:17 -04:00
|
|
|
controllers: [StudentController],
|
|
|
|
|
providers: [StudentService],
|
|
|
|
|
})
|
|
|
|
|
export class StudentModule {}
|