<?php

namespace App\Models\Content;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class ContentDocument extends Model
{
	use SoftDeletes;
    protected $table='content_document';
    protected $primaryKey = 'id';
    protected $fillable = ['content_id','document_name','document_path','mime_type_id','updated_by'];
    
   
    function contentname()
    {
        return $this->belongsTo('\App\Models\Content\Content','content_id','id');
    }

}
