Structor CSSD

This commit is contained in:
saeid
2019-04-25 20:14:09 +04:30
parent fc162db99b
commit 14a91bdef7
72 changed files with 6957 additions and 4636 deletions
+2 -1
View File
@@ -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');
}