mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 22:21:07 +03:30
Come BackEnd
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user