mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 02:21:07 +03:30
22 lines
370 B
PHP
22 lines
370 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class TestResult extends Model
|
|
{
|
|
public function testtype()
|
|
{
|
|
return $this->belongsTo('App\TestType');
|
|
}
|
|
public function user()
|
|
{
|
|
return $this->belongsTo('App\User');
|
|
}
|
|
public function inputvalues()
|
|
{
|
|
return $this->hasMany('App\InputValue');
|
|
}
|
|
}
|