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