<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Cviebrock\EloquentSluggable\Sluggable;

class ArticleTranslation extends Model
{    
	protected $fillable = ['title', 'content', 'locale', 'article_id', 'slug', 'alt'];
    public $timestamps = false;

	use Sluggable;
	public function sluggable()
    {
        return [
            'slug' => [
                'source' => 'title'
            ]
        ];
    }
}
