<?php
namespace Apimodels;


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

	protected
			$fieldConf = array(
			'dt' => array(
					'type' => 'INT4',
			),
			'ad_id' => array(
					'type' => 'INT4',
			),
			'group_id' => array(
					'type' => 'INT4',
			),
			'keyword_id' => array(
					'type' => 'INT4',
			),
			'site_key' => array(
					'type' => 'VARCHAR128',
			),
			'sale_id' => array(
					'type' => 'INT4',
			),
			'u' => array(
					'type' => 'BOOLEAN',
					'default' => 0,
			),
			'i' => array(
					'type' => 'BOOLEAN',
					'default' => 0,
			),
			'c' => array(
					'type' => 'BOOLEAN',
					'default' => 0,
			),
			'ip' => array(
					'type' => 'INT8',
			),
			'hostname' => array(
					'type' => 'VARCHAR256',
			),
			'referer' => array(
					'type' => 'VARCHAR256',
			),
			'agent' => array(
					'type' => 'VARCHAR256',
			),
	),
			$table = 'stats_q';
}
