13 lines
529 B
TypeScript
13 lines
529 B
TypeScript
|
import { Module } from '@nestjs/common';
|
||
|
import { MaterialsInventoryController } from './materials_inventory.controller';
|
||
|
import { MaterialsInventoryService } from './materials_inventory.service';
|
||
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
||
|
import { MeterialsInventoryEntity } from './materials_inventory.entity';
|
||
|
|
||
|
@Module({
|
||
|
imports: [TypeOrmModule.forFeature([MeterialsInventoryEntity])],
|
||
|
controllers: [MaterialsInventoryController],
|
||
|
providers: [MaterialsInventoryService]
|
||
|
})
|
||
|
export class MaterialsInventoryModule {}
|