<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Trouteconf extends Model
{
     protected $fillable = ['id','troute_id','level','office_id','seat_id'];
    protected $table='trouteconf';


public function troute()
{
	return $this->belongsTo('\App\Troute','troute_id');
}
public function seat()
{
   return $this->belongsTo('\App\Seat','seat_id');
}

public function office()
{
   return $this->belongsTo('\App\Office','office_id');
}

}
