<?php

// Define the namespace for the service classes
namespace App\Services;

use App\Models\UserAutoInvest;
use App\Models\LoginLog;

class AutoInvestService {
    public function runDue(){
        $items = UserAutoInvest::where('status','active')->where('next_execution_at','<=',now())->get();
        //foreach($items as $item){ dispatch(new ExecuteAutoInvestJob($item->id)); }
    }
}