<?php

namespace App\Enumerations;

use App\Scopes\CommonModel;

/**
 * Lebenszyklus-Status einer Zahlung -- DB-gestützt, analog zu {@see InvoiceStatus}.
 * Reine Steuersignale (z.B. Redirect) gehören NICHT hierher, sondern bleiben transiente
 * Felder auf {@see \App\EventPaymentModules\DTO\DoPaymentResponse}.
 */
class PaymentStatus extends CommonModel
{
    public const PAYMENT_STATUS_PENDING = 'pending';
    public const PAYMENT_STATUS_SCHEDULED = 'scheduled';
    public const PAYMENT_STATUS_PAID = 'paid';
    public const PAYMENT_STATUS_FAILED = 'failed';

    protected $table = 'payment_status';

    protected $fillable = [
        'slug',
    ];
}
