summaryrefslogtreecommitdiff
path: root/demos/northwind-db/protected/database/Region.php
blob: 3d1c2a847bd1f83c8609bb929100324955f0c97f (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);
	}
}
?>