ldc-legaulois/app/Models/Rating.php

14 lines
191 B
PHP
Raw Normal View History

2021-02-10 11:38:29 +01:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Rating extends Model
{
public function recipe()
{
return $this->belongsTo(Recipe::class);
}
}