Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/**
3
 * Auto generated by prado-cli.php on 2007-05-01 05:31:51.
4
 */
5
class Product extends TActiveRecord
6
{
7
	const TABLE='Products';
8
 
9
	public $ProductID;
10
	public $ProductName;
11
	public $SupplierID;
12
	public $CategoryID;
13
	public $QuantityPerUnit;
14
	public $UnitPrice;
15
	public $UnitsInStock;
16
	public $UnitsOnOrder;
17
	public $ReorderLevel;
18
	public $Discontinued;
19
 
20
	public $Supplier;
21
	public $Category;
22
	public $OrderDetails=array();
23
 
24
	public static $RELATIONS = array
25
	(
26
		'Supplier' => array(self::BELONGS_TO, 'Supplier'),
27
		'Category' => array(self::BELONGS_TO, 'Category'),
28
		'OrderDetails' => array(self::HAS_MANY, 'OrderDetail'),
29
	);
30
 
31
	public static function finder($className=__CLASS__)
32
	{
33
		return parent::finder($className);
34
	}
35
}
36
?>