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

	public $Territories=array();

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

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