19 lines
337 B
PHP
19 lines
337 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Models;
|
||
|
|
|
||
|
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
|
||
|
|
class Reduction extends Model
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* One to one Participation relation
|
||
|
|
*
|
||
|
|
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||
|
|
*/
|
||
|
|
public function participation()
|
||
|
|
{
|
||
|
|
return $this->belongsTo(Participation::class);
|
||
|
|
}
|
||
|
|
}
|