mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-12 05:41:06 +03:30
Structor CSSD
This commit is contained in:
+3
-2
@@ -6,7 +6,8 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TestResult extends Model
|
||||
{
|
||||
public function testtype()
|
||||
public $fillable = ['result','verified','autoclave_id','test_type_id','user_id'];
|
||||
public function test_type()
|
||||
{
|
||||
return $this->belongsTo('App\TestType');
|
||||
}
|
||||
@@ -14,7 +15,7 @@ class TestResult extends Model
|
||||
{
|
||||
return $this->belongsTo('App\User');
|
||||
}
|
||||
public function inputvalues()
|
||||
public function input_values()
|
||||
{
|
||||
return $this->hasMany('App\InputValue');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user