<?php

namespace App\RelationModels;

use Illuminate\Database\Eloquent\Relations\Pivot;

/**
 * @property int $event_id
 * @property string $slug
 * @property ?array $configuration
 */
class EventPaymentMethods extends Pivot
{
    protected $table = 'event_payment_methods';

    public $incrementing = true;

    protected $fillable = ['event_id', 'slug', 'configuration'];

    protected $casts = [
        'configuration' => 'array',
    ];
}
