summaryrefslogtreecommitdiff
path: root/demos/northwind-db/protected/database/Category.php
blob: d708ee967167652d97d7e5e7552c0d5f1a97e5f4 (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
<?php
/**
 * Auto generated by prado-cli.php on 2007-05-01 05:24:53.
 */
class Category extends TActiveRecord
{
	const TABLE='Categories';

	public $CategoryID;
	public $CategoryName;
	public $Description;
	public $Picture;

	public $Products=array();

	public static $RELATIONS=array
	(
		'Products' => array(self::HAS_MANY, 'Product'),
	);

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