<?php

namespace App;

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

class ProductDescription extends Model
{
    public $timestamps = false;

    protected $fillable = [
        'name',
        'slug',
        'meta_description',
        'description',
        'keywords',
        'description',
        'product_id',
        'language_id',
    ];


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