<?php

namespace App\Events;

use App\Models\EventPaymentProof;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class PaymentProofReviewed
{
    use Dispatchable, SerializesModels;

    public const ACTION_SUBMITTED = 'submitted';

    public const ACTION_CONFIRMED = 'confirmed';

    public const ACTION_REJECTED = 'rejected';

    public function __construct(
        public EventPaymentProof $proof,
        public string $action,
        public ?string $reason = null,
    ) {}
}
