backend/src/student/student.module.ts

15 lines
486 B
TypeScript
Raw Normal View History

2026-03-18 21:11:12 +05:30
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Student } from './student.entity';
import { EntityNotes } from '../entity-notes/entity-notes.entity';
import { StudentController } from './student.controller';
import { StudentService } from './student.service';
@Module({
imports: [TypeOrmModule.forFeature([Student, EntityNotes])],
controllers: [StudentController],
providers: [StudentService],
})
export class StudentModule {}