<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class PhotoCategoryDescription extends Model
{
    // Disable timestamp
    public $timestamps = false;


    protected $fillable = [
        'name',
        'slug',
        'photo_category_id',
        'language_id',
    ];

    /**
     * Return website gallery category
     * @return BelongsTo
     */
    public function category() :BelongsTo
    {
        return $this->belongsTo(PhotoCategory::class);
    }
}
