debug code

This commit is contained in:
2025-08-04 12:06:18 +03:30
parent 07d8202469
commit ab6d6f2cb0
15 changed files with 18 additions and 16 deletions

View File

@@ -48,8 +48,8 @@ class HarimFactory extends Factory
'plan_group' => $this->faker->name,
'plan_title' => $this->faker->title,
'address' => $this->faker->address,
'file' => $this->faker->file,
'polygon' => $this->faker->numerify(),
'file' => $this->faker->name,
'polygon' => json_encode($this->faker->numerify()),
];
}
}

View File

@@ -38,7 +38,10 @@ return new class extends Migration
$table->string('plan_title');
$table->string('address');
$table->string('file');
$table->polygon('polygon');
$table->json('polygon');
$table->boolean('need_road_access')->nullable();
$table->integer('final_decision')->nullable();
$table->string('final_description')->nullable();
$table->timestamps();
});
}

View File

@@ -18,7 +18,7 @@ class HarimStateSeeder extends Seeder
['id' => 2, 'name' => 'در انتظار بررسی ایمنی راه توسط دفتر حریم', 'created_at' => now(), 'updated_at' => now(),],
['id' => 3, 'name' => 'در انتظار بررسی ایمنی راه توسط معاون', 'created_at' => now(), 'updated_at' => now(),],
['id' => 4, 'name' => 'در انتظار بررسی ایمنی راه توسط مدیر کل', 'created_at' => now(), 'updated_at' => now(),],
['id' => 5, 'name' => 'رد به دلیل ایمنی راه', 'created_at' => now(), 'updated_at' => now(),],
['id' => 5, 'name' => 'ارسال به پنجره واحد', 'created_at' => now(), 'updated_at' => now(),],
]);
}
}