<?php namespace App;

use Illuminate\Database\Eloquent\Model;
class ConnectionUsers extends Model {

	/**
	 * The database table used by the model.
	 *
	 * @var string
	 */
	protected $table = 'connection_users';

	/**
	 * The attributes that are mass assignable.
	 *
	 * @var array
	 */
	protected $fillable = ['profile_id','folder','connection_id','status','created_at','updated_at'];

  protected function create_record($profile_id,$connection_id,$folder,$status=1)
  {
  	$create = array();
  	$create['profile_id'] = $profile_id;
  	$create['connection_id'] = $connection_id;
	$create['folder'] = $folder;
  	$create['status'] = $status;
  	$save = $this->create($create);
  }	

  	
}
