<?php

namespace App\Services\Communications\Routing;

use App\Models\Communication\Communication;
use App\Models\Communication\SolicitorPhoneNumber;
use App\Models\Solicitor\Solicitor;
use Illuminate\Database\Eloquent\Model;

class RoutingContext {
    public function __construct(
        public readonly Solicitor            $solicitor,
        public readonly SolicitorPhoneNumber $calledNumber,
        public readonly string               $fromNumber,
        public readonly string               $toNumber,
        public readonly ?Model               $communicable = null,
        public readonly ?Communication       $communication = null,
    ) {
    }
}