import { Module } from '@nestjs/common';
import { PrismaService } from '../../prisma/prisma.service';
import { WorkActivityModule } from '../work-activity/work-activity.module';
import { VersionPlanController } from './version-plan.controller';
import { VERSION_PLAN_PRISMA, VersionPlanService } from './version-plan.service';

@Module({
  imports: [WorkActivityModule],
  controllers: [VersionPlanController],
  providers: [
    { provide: VERSION_PLAN_PRISMA, useExisting: PrismaService },
    VersionPlanService,
  ],
  exports: [VersionPlanService],
})
export class VersionPlanModule {}
