<?php

namespace App\Events;

use App\Models\Contract;
use Illuminate\Foundation\Events\Dispatchable;

class ChangeContractSegment
{
    use Dispatchable;

    public function __construct(
        public Contract $contract,
        public int $segmentId,
        public bool $deactivatePrevious = true,
    ) {}
}
