<?php

declare(strict_types=1);

/*
 * Chill is a software for social workers
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

namespace Chill\TicketBundle\Action\Ticket;

use Chill\PersonBundle\Entity\Person;
use Chill\ThirdPartyBundle\Entity\ThirdParty;

/**
 * Command to set the caller of a ticket.
 * The caller can be either a Person or a ThirdParty.
 */
final readonly class SetCallerCommand
{
    /**
     * @param Person|ThirdParty|null $caller The caller to associate with the ticket
     */
    public function __construct(
        public Person|ThirdParty|null $caller,
    ) {}
}
