summaryrefslogtreecommitdiff
path: root/demos/northwind-db/protected/database/Region.php
blob: 6473e68225c6370ecee91c59d6eab739a4242058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/**
 * Auto generated by prado-cli.php on 2007-05-01 05:32:34.
 */
class Region extends TActiveRecord
{
	const TABLE='Region';

	public $RegionID;
	public $RegionDescription;

	//comment out the following line to use lazy loading
	//public $Territories=array();

	public static $RELATIONS = array
	(
		'Territories' => array(self::HAS_MANY, 'Territory')
	);

	public static function finder($className=__CLASS__)
	{
		return parent::finder($className);
	}
}
?>