import { Module } from '@nestjs/common';
import { PrismaService } from '../../prisma/prisma.service';
import { XiaobaoModule } from '../xiaobao/xiaobao.module';
import { WorkActivityController } from './work-activity.controller';
import { WORK_ACTIVITY_PRISMA, WorkActivityService } from './work-activity.service';

@Module({
  imports: [XiaobaoModule],
  controllers: [WorkActivityController],
  providers: [
    { provide: WORK_ACTIVITY_PRISMA, useExisting: PrismaService },
    WorkActivityService,
  ],
  exports: [WorkActivityService],
})
export class WorkActivityModule {}
