<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class File_action extends Model
{
    //

	protected $fillable = ['file_id','seat_id','action_type','action_description','created_by','created_at'];

    public $table="file_actions";
function seat()
    {
    	return $this->belongsTo('\App\Seat','seat_id');
    }


     function file()
    {
    	return $this->belongsTo('\App\File','file_id');
    }

 function action()
    {
    	return $this->belongsTo('\App\Action','action_type');
    }
}
