<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Troute extends Model
{
     protected $fillable = ['id','subject_id','routename','froutename','user_id','file_group_id','updated_by'];
     protected $table='troutes';

public function subject()
{
	return $this->belongsTo('\App\Subject','subject_id');

}
public function user()
{
	return $this->belongsTo('\App\User','user_id');
}
public function file_group()
{
	return $this->belongsTo('\App\File_Group','file_group_id');

}
}
