blob: 851168177148cd49e69a4ea6aa3a0e961e9e013a (
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;
//comment out the following line to use lazy loading
//public $Territories=array();
public static $RELATIONS = array
(
'Territories' => array(self::HAS_MANY, 'Territory')
);
public static function finder($className=__CLASS__)
{
return parent::finder($className);
}
}
|