feat: initial project setup with Laravel 12 and Filament v4

This commit is contained in:
SajjadMahmoody
2026-04-03 17:25:17 +03:30
parent eca5d74b36
commit 09ee1cb743
324 changed files with 78304 additions and 23 deletions
+30
View File
@@ -0,0 +1,30 @@
<?php
namespace Database\Seeders;
use App\Models\SurgeryCenter;
use Illuminate\Database\Seeder;
class SurgeryCenterSeeder extends Seeder
{
public function run(): void
{
$centers = [
[
'name' => 'کلینیک پارس',
'address' => 'مازندران، ساری، میدان امام، مجتمع برلیان',
'phone' => '9122283482',
'email' => null,
'contact_person' => 'دکتر شایگان',
'description' => null,
],
];
foreach ($centers as $item) {
SurgeryCenter::firstOrCreate(
['name' => $item['name']],
$item
);
}
}
}