<?php

namespace Database\Seeders;

use App\Models\PaymentSetting;
use Illuminate\Database\Seeder;

class PaymentSettingSeeder extends Seeder
{
    public function run(): void
    {
        // Create default record if not exists
        PaymentSetting::query()->firstOrCreate([], [
            'default_currency' => 'EUR',
            'create_activity_on_payment' => false,
            'default_decision_id' => null,
            'default_action_id' => null,
            'activity_note_template' => 'Prejeto plačilo: {amount} {currency}',
        ]);
    }
}
