Untitled

mail@pastecode.io avatar
unknown
plain_text
19 days ago
461 B
2
Indexable
Never
// insecticide.module.ts
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { InsectController } from './insect.controller';
import { insectService } from './insect.service';
import { insect} from './insect.entity';

@Module({
  imports: [TypeOrmModule.forFeature([insect])],
  controllers: [InsectController],
  providers: [insectService],
  exports: [insectService],
})
export class InsectModule {}
Leave a Comment