<?php

namespace Database\Seeders;

use App\Set\CreateSetDto;
use App\Set\SetRepository;
use Illuminate\Database\Seeder;

class SetSeeder extends Seeder
{
    public function run(): void
    {
        $setRepository = app(SetRepository::class);
        $title = 'Baderech HaAvodah';

        $set = $setRepository->create(new CreateSetDto(
            name: $title,
            description: 'Baderech HaAvodah is a way of living - '
                . 'a structured path for inner and outer growth, '
                . 'spiritual refinement, and personal development.',
            iconImageUrl: '/assets/baderech-haavodah-icon.png',
        ));
    }
}
