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