Pony.fm/app/Genre.php

15 lines
274 B
PHP
Raw Normal View History

2015-08-30 14:29:12 +02:00
<?php
namespace Poniverse\Ponyfm;
2015-08-31 14:35:47 +02:00
use Poniverse\Ponyfm\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;
}