<?php

namespace App;

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

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


    protected $fillable = [
        'name',
        'photo_gallery_id',
        'language_id',
    ];

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