created master data: rayon, cost centre, kategori

This commit is contained in:
Jagad R R
2024-12-12 18:18:26 +07:00
parent 8cf94b5a5e
commit 095c2169c5
38 changed files with 1249 additions and 17 deletions
+30
View File
@@ -0,0 +1,30 @@
<?php
namespace Database\Seeds;
use Illuminate\Database\Seeder;
use App\Models\Rayon;
class RayonSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
Rayon::create([
'code' => 'R1',
'name' => 'Rayon 1',
]);
Rayon::create([
'code' => 'R2',
'name' => 'Rayon 2',
]);
Rayon::create([
'code' => 'R3',
'name' => 'Rayon 3',
]);
}
}