blob: 088fbbd2e9f81e0a43401bc68d5e58866537f539 (
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
34
35
36
|
<?php
/**
* Auto generated by prado-cli.php on 2007-05-01 05:31:51.
*/
class Product extends TActiveRecord
{
const TABLE='Products';
public $ProductID;
public $ProductName;
public $SupplierID;
public $CategoryID;
public $QuantityPerUnit;
public $UnitPrice;
public $UnitsInStock;
public $UnitsOnOrder;
public $ReorderLevel;
public $Discontinued;
public $Supplier;
public $Category;
public $OrderDetails=array();
public static $RELATIONS = array
(
'Supplier' => array(self::BELONGS_TO, 'Supplier'),
'Category' => array(self::BELONGS_TO, 'Category'),
'OrderDetails' => array(self::HAS_MANY, 'OrderDetail'),
);
public static function finder($className=__CLASS__)
{
return parent::finder($className);
}
}
?>
|