initial commit
[namibia] / module / Stock / src / Stock / DataBin / Condition.php
1 <?php
2 namespace Stock\DataBin;
3
4
5
6 /**
7  * Manage Condition data.
8  * @author andre.fourie
9  */
10 class Condition extends \Workspace\Service\DataBin
11 {
12
13         /**
14          * @var array
15          */
16         protected $meta = array(
17                         'Base'        => 'Condition',
18                         'DatasetName' => 'condition',
19                         'Entity'      => '\Stock\Entity\Condition',
20                         'References'  => array(),
21                         'Dependants'  => array()
22         );
23         /**
24          * @var array
25         */
26         protected $metaList = array(
27                         'Contract'      => 'Recurring',
28                         'RequiredInput' => array(),
29                         'OptionalInput' => array(
30                                         'Filter' => array(
31                                                         'name' => 'String75'
32                                         )
33                         ),
34                         'Filter' => array(),
35                         'Fields' => array(
36                                 'name'
37                         ),
38                         'Expand' => array()
39         );
40         /**
41          * @var array
42         */
43         protected $metaSelectList = array(
44                         'Type'          => 'SelectList',
45                         'Contract'      => 'Recurring',
46                         'RequiredInput' => array(),
47                         'OptionalInput' => array(
48                                         'Filter' => array(
49                                                         'name' => 'String75'
50                                         )
51                         ),
52                         'Filter'   => array(),
53                         'Label'    => array(
54                                 'Format' => '[name]',
55                                 'Fields' => array('name')
56                         )
57         );
58         /**
59          * @var array
60         */
61         protected $metaCreate = array(
62                         'Contract' => 'Recurring',
63                         'RequiredInput' => array(
64                                         'Condition' => array(
65                                                         'name' => 'String75'
66                                         )
67                         ),
68                         'OptionalInput' => array()
69         );
70         /**
71          * @var array
72         */
73         protected $metaUpdate = array(
74                         'Contract' => 'UseOnce',
75                         'RequiredInput' => array(
76                                         'Condition' => array(
77                                                         'name' => 'String75'
78                                         )
79                         ),
80                         'OptionalInput' => array()
81         );
82         /**
83          * @var array
84         */
85         protected $metaDelete = array(
86                         'Contract' => 'UseOnce'
87         );
88
89 }