<?php
namespace App;
use Illuminate\Database\Eloquent\Model;

class Action_subjectgroup extends Model
{
    protected $fillable = ['action_id','subject_group_id','updated_by','office_id'];
    protected $table='action_subjectgroup';

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

	function subject_group()
    {
    	return $this->belongsTo('\App\Subject_Group','subject_group_id');
    }

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