import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Order } from '@/entities/order.entity';
import { OrderSchedule } from './order.schedule';
import { SettlementSchedule } from './settlement.schedule';
import { FinanceModule } from '@/modules/shared/finance/finance.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([Order]),
    FinanceModule,
  ],
  providers: [OrderSchedule, SettlementSchedule],
  exports: [OrderSchedule, SettlementSchedule],
})
export class ScheduleModule {}
