2025-03-26 14:39:56 -06:00
|
|
|
import { Module } from '@nestjs/common';
|
|
|
|
|
import { OpcionService } from './opcion.service';
|
|
|
|
|
import { OpcionController } from './opcion.controller';
|
2025-04-02 09:15:14 -06:00
|
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
|
import { Opcion } from './entities/opcion.entity';
|
2025-03-26 14:39:56 -06:00
|
|
|
|
|
|
|
|
@Module({
|
2025-04-02 09:15:14 -06:00
|
|
|
imports: [TypeOrmModule.forFeature([Opcion])], // Importa el repositorio de Opcion
|
2025-03-26 14:39:56 -06:00
|
|
|
controllers: [OpcionController],
|
|
|
|
|
providers: [OpcionService],
|
2025-04-02 11:14:45 -06:00
|
|
|
exports: [OpcionService, TypeOrmModule]
|
2025-03-26 14:39:56 -06:00
|
|
|
})
|
|
|
|
|
export class OpcionModule {}
|