initial commit
[namibia] / module / Auction / src / Auction / DataBin / Reply.php
1 <?php
2 namespace Auction\DataBin;
3
4
5
6 /**
7  * Manage Bid data.
8  * @author andre.fourie
9  */
10 class Reply extends \Workspace\Service\DataBin
11 {
12
13         /**
14          * @var array
15          */
16         protected $meta = array(
17                         'Base'        => 'Reply',
18                         'DatasetName' => 'replies',
19                         'Entity'      => '\Auction\Entity\Reply',
20                         'JobField'    => 'auction',
21                         'References'  => array(
22                                         'question' => '\Auction\Entity\Question',
23                                         'profile'  => '\User\Entity\Profile'
24                         ),
25                         'Dependants'  => array()
26         );
27         /**
28          * @var array
29         */
30         protected $metaCreate = array(
31                         'Type'          => 'Create',
32                         'Contract'      => 'Recurring',
33                         'ExecuteAfter'  => array(
34                                         'notify'
35                         ),
36                         'RequiredInput' => array(
37                                         'Reply' => array(
38                                                         'question'  => 'Id',
39                                                         'reply'         => 'String500'
40                                         )
41                         ),
42                         'OptionalInput' => array()
43         );
44
45 }