mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 09:41:06 +03:30
Structor CSSD
This commit is contained in:
+2
-1
@@ -6,11 +6,12 @@ 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 testresult()
|
||||
public function test_result()
|
||||
{
|
||||
return $this->belongsTo('App\TestResult');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user