<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Nicolaslopezj\Searchable\SearchableTrait;

class CronJob extends Model
{
	protected $table = 'cron_jobs';
	protected $connection= 'mysql';

	public function __construct(){
		$this->connection = config('config.default_connection');
	}

  	protected $fillable = [
		'type','flag','started_at','ended_at','last_updated_at','active_count','do_stop'
  	];
}
