<?php
class Gorivo extends AppModel {
	var $name = 'Gorivo';
	var $useTable = 'gorivo';
	var $displayField = 'naziv';
	
	var $hasMany = array(
		'Automobil' => array(
			'className' => 'Automobil',
			'foreignKey' => 'gorivo_id',
			'dependent' => false
		)
	);
}
