2024-02-29 10:32:37 +08:00
|
|
|
import { Module } from '@nestjs/common';
|
|
|
|
import { MaterialsInventoryController } from './materials_inventory.controller';
|
|
|
|
import { MaterialsInventoryService } from './materials_inventory.service';
|
|
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
2024-03-04 14:17:53 +08:00
|
|
|
import { MaterialsInventoryEntity } from './materials_inventory.entity';
|
|
|
|
import { StorageModule } from '../tools/storage/storage.module';
|
2024-03-05 13:57:03 +08:00
|
|
|
import { MaterialsInOutController } from './in_out/materials_in_out.controller';
|
|
|
|
import { MaterialsInOutService } from './in_out/materials_in_out.service';
|
|
|
|
import { MaterialsInOutEntity } from './in_out/materials_in_out.entity';
|
2024-03-06 17:13:14 +08:00
|
|
|
import { ParamConfigModule } from '../system/param-config/param-config.module';
|
2024-03-07 16:28:03 +08:00
|
|
|
import { ProjectModule } from '../project/project.module';
|
|
|
|
import { ProjectEntity } from '../project/project.entity';
|
2024-02-29 10:32:37 +08:00
|
|
|
|
|
|
|
@Module({
|
2024-03-05 13:57:03 +08:00
|
|
|
imports: [
|
2024-03-07 16:28:03 +08:00
|
|
|
TypeOrmModule.forFeature([MaterialsInventoryEntity, MaterialsInOutEntity,ProjectEntity]),
|
2024-03-06 17:13:14 +08:00
|
|
|
ParamConfigModule,
|
2024-03-07 16:28:03 +08:00
|
|
|
StorageModule,
|
|
|
|
ProjectModule
|
2024-03-05 13:57:03 +08:00
|
|
|
],
|
|
|
|
controllers: [MaterialsInventoryController, MaterialsInOutController],
|
|
|
|
providers: [MaterialsInventoryService, MaterialsInOutService]
|
2024-02-29 10:32:37 +08:00
|
|
|
})
|
|
|
|
export class MaterialsInventoryModule {}
|