ldc-gen-game-web/app/Models/Product.php

18 lines
293 B
PHP
Raw Permalink Normal View History

2021-07-15 16:08:11 +02:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Product extends Model
{
2022-08-11 10:26:29 +02:00
/**
* Range relation
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function range()
{
return $this->belongsTo(Range::class);
}
2021-07-15 16:08:11 +02:00
}