2 namespace Stock\DataBin;
5 * Manage Pricing History data.
8 class PricingHistory extends \Workspace\Service\DataBin
14 protected $meta = array(
15 'Base' => 'PricingHistory',
16 'DatasetName' => 'pricinghistory',
17 'Entity' => '\Stock\Entity\PricingHistory',
18 'References' => array(),
19 'Dependants' => array()
24 protected $metaGrid = array(
27 'Contract' => 'Recurring',
29 'RequiredInput' => array(),
30 'OptionalInput' => array(
32 'NumberOfRecords' => 'Integer',
36 'Base' => 'PricingHistory',
37 'NumberOfRecords' => 10,
38 'Query' => 'SELECT [SELECTION]
39 FROM \Stock\Entity\PricingHistory PricingHistory
41 'Selection' => 'PricingHistory',
43 'OrderBy' => array('PricingHistory.date' => 'DESC'),