<?php
namespace Apimodels;


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

	protected
			$fieldConf = array(
			'date' => array(
					'type' => 'INT4'
			),
			'group_id' => array(
					'belongs-to-one' => '\Models\Group',
			),
			'uniques' => array(
					'type' => 'INT4',
					'default' => 0,
			),
			'impressions' => array(
					'type' => 'INT4',
					'default' => 0,
			),
	),
			$table = 'stats_groups';
}