<?php

namespace Database\Seeders;

use App\Models\Commons\Category;
use Illuminate\Database\Seeder;

class CategorySeeder extends Seeder
{
    public function run(): void
    {
        Category::create([
            'tenant_id' => 1,
            'parent_id' => null,
            'code_group' => 'product',
            'code' => 'DEFAULT',
            'name' => '기본 카테고리',
            'profile_code' => 'FINISHED_GOOD', // capability_profile 참조
            'is_active' => 1,
            'sort_order' => 1,
            'description' => '시스템 기본 카테고리',
        ]);
    }
}
