1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
- /**
- *
- * PHP Pro Bid $Id$ v+Yq3FVLV7w/XjjKm9CxccWTfneLD6nC9ap970xoQEo=
- *
- * @link http://www.phpprobid.com
- * @copyright Copyright (c) 2014 Online Ventures Software LTD & CodeCube SRL
- * @license http://www.phpprobid.com/license Commercial License
- *
- * @version 7.0
- */
- namespace Ppb\Db\Table;
- use Cube\Db\Table\AbstractTable;
- class SalesListings extends AbstractTable
- {
- /**
- *
- * table name
- *
- * @var string
- */
- protected $_name = 'sales_listings';
- /**
- *
- * primary key
- *
- * @var string
- */
- protected $_primary = 'id';
- /**
- *
- * class name for row
- *
- * @var string
- */
- protected $_rowClass = '\Ppb\Db\Table\Row\SaleListing';
- /**
- * class name for rowset
- *
- * @var string
- */
- protected $_rowsetClass = '\Ppb\Db\Table\Rowset\SalesListings';
- /**
- *
- * reference map
- *
- * @var array
- */
- protected $_referenceMap = array(
- 'Listing' => array(
- self::COLUMNS => 'listing_id',
- self::REF_TABLE_CLASS => '\Ppb\Db\Table\Listings',
- self::REF_COLUMNS => 'id',
- ),
- 'Sale' => array(
- self::COLUMNS => 'sale_id',
- self::REF_TABLE_CLASS => '\Ppb\Db\Table\Sales',
- self::REF_COLUMNS => 'id',
- ),
- );
- }
|