penisularhr / src / modules / rainfall / rainfall.module.ts
rainfall.module.ts
Raw
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';

import { RainfallController } from './rainfall.controller';
import { RainfallRecordEntity } from './rainfall.entity';
import { RainfallRecordService } from './rainfall.service';

@Module({
  imports: [TypeOrmModule.forFeature([RainfallRecordEntity])],
  controllers: [RainfallController],
  exports: [RainfallRecordService],
  providers: [RainfallRecordService],
})
export class RainfallModule {}