import { Module } from '@nestjs/common';
import { PrismaService } from '../../prisma/prisma.service';
import { WorkActivityModule } from '../work-activity/work-activity.module';
import { BugController } from './bug.controller';
import { BUG_PRISMA, BugService } from './bug.service';

@Module({
  imports: [WorkActivityModule],
  controllers: [BugController],
  providers: [
    { provide: BUG_PRISMA, useExisting: PrismaService },
    BugService,
  ],
  exports: [BugService],
})
export class BugModule {}
