<?php

namespace Apimodels;


/**
 * Class Schedule
 * @param $f3 \Base
 * @package Models
 */
class Schedule extends DB_Resource {

	protected
			$fieldConf = array(
			'status' => array(
					'type' => 'BOOLEAN',
					'default' => 1,
					'nullable' => false,
			),
			'frequency' => array(
					'type' => 'INT2',
			),
			'job' => array(
					'type' => 'VARCHAR128',
			),
			'last_run_time' => array(
					'type' => 'INT4',
			),
			'last_run_result' => array(
					'type' => 'VARCHAR128',
			),
	),
			$table = 'schedule';

}