ldc-dam/app/Etiquette.php

24 lines
341 B
PHP
Raw Normal View History

2019-06-17 09:22:10 +02:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Etiquette extends Model
{
/**
* The primary key associated with the table.
*
* @var string
*/
protected $primaryKey = 'etiquette_id';
/**
* Get the medias for the etiquette.
*/
public function medias()
{
return $this->hasMany('App\Media');
}
2019-06-17 09:22:10 +02:00
}