create cmms machine service with tests

This commit is contained in:
2024-12-08 10:27:14 +03:30
parent 822b2ae526
commit c8e024981e
11 changed files with 420 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace Database\Seeders;
use App\Models\CMMSMachine;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class CMMSMachineSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
CMMSMachine::factory(5)->create();
}
}