<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class TestMethod extends Model
{
    use HasFactory, SoftDeletes;

    protected $guarded = [];

    public function test_item_methods()
    {
        return $this->hasMany(TestItemMethodMachine::class, 'test_method_id', 'id');
    }
}
