latest updates
[namibia] / module / Company / src / Company / Fixture / Company.php
1 <?php
2 namespace Company\Fixture;
3
4
5
6 class Company extends \Fixture\Service\Fixture
7 {
8
9         static public function build()
10         {
11                 parent::addStack('\Company\Entity\Company', array(
12                                 'Company.ImperialSeller' => array(
13                                                 'name'  => 'ImperialSeller',
14                                                 'region' => self::getReference('Region.Gauteng'),
15                                                 'city' => self::getReference('Town.Pretoria'),
16                                                 'contact' => self::getReference('Contact.Jack'),
17                                                 'postalCode'  => '0030',
18                                                 'street'  => 'Umgeni Street',
19                                                 'dealerType' => \Company\Entity\Company::DEALERTYPE_TRADER,
20                                                 'clientType' => \Company\Entity\Company::CLIENTTYPE_SELLER,
21                                                 'turmiNumber' => '7777',
22                                                 'group' => self::getReference('Group.Imperial'),
23                                                 'groupDivision' => self::getReference('GroupDivision.Hyundai'),
24                                                 'companyType' => \Company\Entity\Company::COMPANYTYPE_PTY_LTD,
25                                                 'priceGuide' => false,
26                                                 'tradeClub' => true
27                                 ),
28                                 'Company.AmhSeller' => array(
29                                                 'name'  => 'AmhSeller',
30                                                 'region' => self::getReference('Region.Gauteng'),
31                                                 'city' => self::getReference('Town.Pretoria'),
32                                                 'postalCode'  => '0030',
33                                                 'street'  => 'Church Srteet',
34                                                 'dealerType' => \Company\Entity\Company::DEALERTYPE_TRADER,
35                                                 'clientType' => \Company\Entity\Company::CLIENTTYPE_SELLER,
36                                                 'turmiNumber' => '7777',
37                                                 'group' => self::getReference('Group.AMH'),
38                                                 'groupDivision' => self::getReference('GroupDivision.Mercedes'),
39                                                 'companyType' => \Company\Entity\Company::COMPANYTYPE_PTY_LTD,
40                                                 'priceGuide' => false,
41                                                 'tradeClub' => true
42                                 ),
43                                 'Company.IndependantBuyer' => array(
44                                                 'name'  => 'IndependantBuyer',
45                                                 'region' => self::getReference('Region.Gauteng'),
46                                                 'city' => self::getReference('Town.Pretoria'),
47                                                 'postalCode'  => '0032',
48                                                 'street'  => 'Lenchen South',
49                                                 'dealerType' => \Company\Entity\Company::DEALERTYPE_TRADER,
50                                                 'clientType' => \Company\Entity\Company::CLIENTTYPE_BUYER,
51                                                 'turmiNumber' => '',
52                                                 'group' => self::getReference('Group.Independant'),
53                                                 'groupDivision' => self::getReference('GroupDivision.Independant'),
54                                                 'companyType' => \Company\Entity\Company::COMPANYTYPE_PTY_LTD,
55                                                 'priceGuide' => false,
56                                                 'tradeClub' => true
57                                 ),
58                                 'Company.Dave' => array(
59                                                 'name'  => 'Dave\'s Dealership',
60                                                 'region' => self::getReference('Region.Gauteng'),
61                                                 'city' => self::getReference('Town.Pretoria'),
62                                                 'contact' => self::getReference('Contact.Dave'),
63                                                 'postalCode'  => '0032',
64                                                 'street'  => 'Lenchen South',
65                                                 'dealerType' => \Company\Entity\Company::DEALERTYPE_TRADER,
66                                                 'clientType' => \Company\Entity\Company::CLIENTTYPE_BUYER,
67                                                 'turmiNumber' => '7777',
68                                                 'group' => self::getReference('Group.Imperial'),
69                                                 'groupDivision' => self::getReference('GroupDivision.Cargo'),
70                                                 'companyType' => \Company\Entity\Company::COMPANYTYPE_PTY_LTD,
71                                                 'priceGuide' => false,
72                                                 'tradeClub' => true
73                                 ),
74                                 'Company.Byron' => array(
75                                                 'name'  => 'Trade Center Dealership',
76                                                 'region' => self::getReference('Region.Gauteng'),
77                                                 'city' => self::getReference('Town.Pretoria'),
78                                                 'contact' => self::getReference('Contact.Byron'),
79                                                 'postalCode'  => '0032',
80                                                 'street'  => 'Lenchen South',
81                                                 'dealerType' => \Company\Entity\Company::DEALERTYPE_TRADE_CENTER,
82                                                 'clientType' => \Company\Entity\Company::CLIENTTYPE_BUYER,
83                                                 'turmiNumber' => '7777',
84                                                 'group' => self::getReference('Group.Independant'),
85                                                 'groupDivision' => self::getReference('GroupDivision.Independant'),
86                                                 'companyType' => \Company\Entity\Company::COMPANYTYPE_PTY_LTD,
87                                                 'priceGuide' => false,
88                                                 'tradeClub' => true
89                                 )
90                 ));
91         }
92
93 }