<?php

namespace App;

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

class ProductDescription extends Model
{
    public $timestamps = false;

    protected $fillable = [
        'name',
        'description',
        'note',
        'product_id',
        'language_id',
    ];


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