Creacion de entities y servicios
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { StudentService } from './student.service';
|
||||
import { AlumnoService } from './student.service';
|
||||
import { StudentController } from './student.controller';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { Student } from './entities/student.entity';
|
||||
@@ -7,6 +7,6 @@ import { Student } from './entities/student.entity';
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([Student])],
|
||||
controllers: [StudentController],
|
||||
providers: [StudentService],
|
||||
providers: [AlumnoService],
|
||||
})
|
||||
export class StudentModule {}
|
||||
|
||||
Reference in New Issue
Block a user