Configurations for payment modules

This commit is contained in:
2026-07-29 12:37:48 +02:00
parent ab3d526217
commit 29db141b84
19 changed files with 436 additions and 19 deletions
+15 -3
View File
@@ -2,10 +2,22 @@
namespace App\RelationModels;
use App\Scopes\CommonModel;
use Illuminate\Database\Eloquent\Relations\Pivot;
class EventPaymentMethods extends CommonModel
/**
* @property int $event_id
* @property string $slug
* @property ?array $configuration
*/
class EventPaymentMethods extends Pivot
{
protected $table = 'event_payment_methods';
protected $fillable = ['event_id', 'slug'];
public $incrementing = true;
protected $fillable = ['event_id', 'slug', 'configuration'];
protected $casts = [
'configuration' => 'array',
];
}