import { Module } from '@nestjs/common';
import { PrismaService } from '../../prisma/prisma.service';
import { WorkActivityModule } from '../work-activity/work-activity.module';
import { DevTaskController } from './dev-task.controller';
import { DEV_TASK_PRISMA, DevTaskService } from './dev-task.service';

@Module({
  imports: [WorkActivityModule],
  controllers: [DevTaskController],
  providers: [
    { provide: DEV_TASK_PRISMA, useExisting: PrismaService },
    DevTaskService,
  ],
  exports: [DevTaskService],
})
export class DevTaskModule {}
