<?php

namespace App\Model;

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

class PaperDetail extends Model {

    use SoftDeletes;

    protected $fillable = [
        'paper_id','questiontype_id','question_no','question_section','question_id','question_mark','optional','que_id',
    ];
    
    public function question()
	{
        return $this->belongsTo('App\Model\Question','question_id')->withTrashed();
    }
}
