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

import { EmployeeModule } from '../employee/employee.module';
import { MonthlyRecordController } from './monthly-record.controller';
import { MonthlyRecordEntity } from './monthly-record.entity';
import { MonthlyRecordService } from './monthly-record.service';

@Module({
  imports: [TypeOrmModule.forFeature([MonthlyRecordEntity]), EmployeeModule],
  controllers: [MonthlyRecordController],
  exports: [MonthlyRecordService],
  providers: [MonthlyRecordService],
})
export class MonthlyRecordModule {}