initial commit
[namibia] / module / Company / src / Company / DataBin / FoundMethodDetail.php
1 <?php
2 namespace Company\DataBin;
3
4
5
6 /**
7  * Manage FoundMethodDetail data.
8  * @author andre.fourie
9  */
10 class FoundMethodDetail extends \Workspace\Service\DataBin
11 {
12
13         /**
14          * @var array
15          */
16         protected $meta = array(
17                         'Base'        => 'FoundMethodDetail',
18                         'DatasetName' => 'foundmethoddetails',
19                         'Entity'      => '\Company\Entity\FoundMethodDetail',
20                         'References'  => array(
21                                         'foundMethod'  => '\Company\Entity\FoundMethod'
22                         ),
23                         'Dependants'  => array()
24         );
25         /**
26          * @var array
27         */
28         protected $metaSelectList = array(
29                         'Type'          => 'SelectList',
30                         'Contract'      => 'Recurring',
31                         'RequiredInput' => array(),
32                         'OptionalInput' => array(
33                                         'Filter' => array(
34                                                         'foundMethod' => 'Id'
35                                         )
36                         ),
37                         'Filter'   => array(),
38                         'Label'    => array(
39                                 'Format' => '[name]',
40                                 'Fields' => array('name')
41                         )
42         );
43
44 }