<?php

namespace App;

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

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

    protected $fillable = ['title', 'photo_id', 'language_id'];


    /**
     * Return photo for description
     * @return BelongsTo
     */
    public function photo() :BelongsTo
    {
        return $this->belongsTo(Photo::class);
    }


}
