summaryrefslogtreecommitdiff
path: root/demos/northwind-db/protected/database/Customer.php
blob: 464b384d5c51665ee95a5631150b8d5474ba8da3 (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
26
27
28
29
30
31
32
33
<?php
/**
 * Auto generated by prado-cli.php on 2007-05-01 05:28:47.
 */
class Customer extends TActiveRecord
{
	const TABLE='Customers';

	public $CustomerID;
	public $CompanyName;
	public $ContactName;
	public $ContactTitle;
	public $Address;
	public $City;
	public $Region;
	public $PostalCode;
	public $Country;
	public $Phone;
	public $Fax;

	public $Orders=array();

	public static $RELATIONS = array
	(
		'Orders' => array(self::HAS_MANY, 'Order'),
	);

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