import { Module } from '@nestjs/common';
import { DomainModule } from './domain.module';
import { InfrastructureModule } from './infrastructure.module';
import {
  ReferralService,
  TeamStatisticsService,
  UserRegisteredHandler,
  PlantingCreatedHandler,
  ContractSigningHandler,
  // [纯新增] 转让事件处理器
  PlantingTransferredHandler,
} from '../application';

@Module({
  imports: [DomainModule, InfrastructureModule],
  providers: [
    ReferralService,
    TeamStatisticsService,
    UserRegisteredHandler,
    PlantingCreatedHandler,
    ContractSigningHandler,
    // [纯新增] 转让事件处理器
    PlantingTransferredHandler,
  ],
  exports: [ReferralService, TeamStatisticsService],
})
export class ApplicationModule {}
