<?php

namespace App;

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

/**
 * @property mixed id
 */
class NewDescription extends Model
{
    //use soft delete

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

    /**
     * Return descriptions for article
     * @return HasMany
     */
    

public function language()
    {
    	return $this->belongsTo('App\Language','language_id');
    }
  
}
