Pony.fm/app/Genre.php

15 lines
248 B
PHP
Raw Normal View History

2015-08-30 14:29:12 +02:00
<?php
2015-08-31 14:35:47 +02:00
namespace App;
2015-09-06 19:21:11 +02:00
use App\Traits\SlugTrait;
use Illuminate\Database\Eloquent\Model;
2015-08-30 14:29:12 +02:00
class Genre extends Model
{
protected $table = 'genres';
protected $fillable = ['name', 'slug'];
public $timestamps = false;
2015-08-30 14:29:12 +02:00
use SlugTrait;
}