Big changes added events for decisions
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?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,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user