15 lines
486 B
TypeScript
15 lines
486 B
TypeScript
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 {} |