Implement package limit notification system
This commit is contained in:
20
app/Events/Packages/EventPackagePhotoThresholdReached.php
Normal file
20
app/Events/Packages/EventPackagePhotoThresholdReached.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events\Packages;
|
||||
|
||||
use App\Models\EventPackage;
|
||||
use Illuminate\Foundation\Events\Dispatchable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class EventPackagePhotoThresholdReached
|
||||
{
|
||||
use Dispatchable;
|
||||
use SerializesModels;
|
||||
|
||||
public function __construct(
|
||||
public EventPackage $eventPackage,
|
||||
public float $threshold,
|
||||
public int $limit,
|
||||
public int $used,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user