<?php

namespace Database\Seeders;

use App\Models\System\Settings\Settings;
use Illuminate\Database\Seeder;

class SettingsSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        collect([
            [
                'key' => config('sms.database.key'),
                'value' => config('sms.database.value'),
                'display_name' => translatable('SMS API'),
                'locked' => false,
            ],
        ])->each(fn ($setting) => Settings::create($setting));
    }
}
