18 lines
340 B
PHP
Executable File
18 lines
340 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Categorie extends Model
|
|
{
|
|
/** @use HasFactory<\Database\Factories\CategorieFactory> */
|
|
use HasFactory;
|
|
|
|
public function billets()
|
|
{
|
|
return $this->belongsToMany(Billet::class);
|
|
}
|
|
}
|