<?php

namespace Database\Seeders\Tenant;

use App\Facades\Settings;
use Illuminate\Database\Seeder;

class TrimContentTemplateSettingSeeder extends Seeder
{
    public function run()
    {
        collect($this->getData())
            ->each(fn ($data) => Settings::make($data));
    }

    private function getData()
    {
        return [
            [
                'tab' => 'Automotive',
                'section' => 'General',
                'group' => 'New Vehicles',
                'name' => 'Trim content template',
                'config_key' => 'app-content-trim-default-template',
                'type' => 'text',
                'value' => '',
                'description' => 'Template ID to use for vehicle trim content. Leave empty to disable content on trims.',
            ],
        ];
    }
}
