<?php

namespace App;

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

class ContactDescription extends Model
{
    public $timestamps = false;

    protected $fillable = [
        'title',
        'description',
        'contact_id',
        'language_id',
    ];

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