change TestType & TestResult

This commit is contained in:
Fayyazi
2019-07-15 13:41:05 +04:30
parent d3735c6d30
commit 969f8b8b45
7 changed files with 91 additions and 35 deletions
+4
View File
@@ -11,5 +11,9 @@ class Package extends Model
{
return $this->belongsTo('App\User');
}
public function items()
{
return $this->belongsToMany('App\Item', 'item_package');
}
}