text changes to registration mail content
[namibia] / module / Utility / src / Utility / Service / Increment.php
1 <?php
2 namespace Auction\DataBin;
3
4
5
6 /**
7  * Manage Increment data.
8  * @author andre.fourie
9  */
10 class Increment extends \Workspace\Service\DataBin
11 {
12
13         /**
14          * @var array
15          */
16         protected $meta = array(
17                         'Base'        => 'Increment',
18                         'DatasetName' => 'increments',
19                         'Entity'      => '\Auction\Entity\Increment',
20                         'References'  => array(),
21                         'Dependants'  => array()
22         );
23         /**
24          * @var array
25         */
26         protected $metaList = array(
27                         'Type'                  => 'List',
28                         'Contract'      => 'Recurring',
29                         'RequiredInput' => array(),
30                         'OptionalInput' => array(),
31                         'Filter' => array(),
32                         'OrderBy' => array(
33                                         'to' => 'ASC'
34                         ),
35                         'Fields' => array(
36                                 'id',
37                                 'from',
38                                 'to',
39                                 'amount'
40                         ),
41                         'Expand' => array()
42         );
43         /**
44          * @var array
45         */
46         protected $metaCreate = array(
47                         'Type'                  => 'Create',
48                         'Contract'              => 'Recurring',
49                         'RequiredInput' => array(
50                                         'Increment' => array(
51                                                         'from'   => 'Integer',
52                                                         'to'     => 'Integer',
53                                                         'amount' => 'Decimal'
54                                         )
55                         ),
56                         'OptionalInput' => array()
57         );
58         /**
59          * @var array
60         */
61         protected $metaUpdate = array(
62                         'Type'                  => 'Update',
63                         'Contract'              => 'UseOnce',
64                         'RequiredInput' => array(
65                                         'Increment' => array(
66                                                         'from'   => 'Integer',
67                                                         'to'     => 'Integer',
68                                                         'amount' => 'Decimal'
69                                         )
70                         ),
71                         'OptionalInput' => array()
72         );
73         /**
74          * @var array
75         */
76         protected $metaDelete = array(
77                         'Contract' => 'UseOnce'
78         );
79
80 }