mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 22:01:08 +03:30
19 lines
344 B
PHP
19 lines
344 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class InputValue extends Model
|
|
{
|
|
public $fillable = ['value','test_result_id','input_id'];
|
|
public function input()
|
|
{
|
|
return $this->belongsTo('App\Input');
|
|
}
|
|
public function test_result()
|
|
{
|
|
return $this->belongsTo('App\TestResult');
|
|
}
|
|
}
|