1 | <?php |
||
17 | class Businessman extends \WebCMS\Entity\Entity |
||
18 | { |
||
19 | |||
20 | /** |
||
21 | * @ORM\Column(type="string", length=255, nullable=true) |
||
22 | */ |
||
23 | private $name; |
||
24 | |||
25 | /** |
||
26 | * @ORM\Column(type="string", length=255, nullable=true) |
||
27 | */ |
||
28 | private $lastname; |
||
29 | |||
30 | /** |
||
31 | * @ORM\Column(type="string", length=255, nullable=true) |
||
32 | */ |
||
33 | private $businessname; |
||
34 | |||
35 | /** |
||
36 | * @ORM\Column(type="string", length=255) |
||
37 | */ |
||
38 | private $street; |
||
39 | |||
40 | /** |
||
41 | * @ORM\Column(type="string", length=255) |
||
42 | */ |
||
43 | private $zipCity; |
||
44 | |||
45 | /** |
||
46 | * @ORM\Column(type="string", length=255) |
||
47 | */ |
||
48 | private $email; |
||
49 | |||
50 | /** |
||
51 | * @ORM\Column(type="string", length=255) |
||
52 | */ |
||
53 | private $phone; |
||
54 | |||
55 | /** |
||
56 | * @ORM\Column(type="string", length=255) |
||
57 | */ |
||
58 | private $businessId; |
||
59 | |||
60 | /** |
||
61 | * @ORM\Column(type="string", length=255) |
||
62 | */ |
||
63 | private $businessUrl; |
||
64 | |||
65 | /** |
||
66 | * @ORM\Column(type="boolean") |
||
67 | */ |
||
68 | private $active; |
||
69 | |||
70 | /** |
||
71 | * @var datetime $created |
||
72 | * |
||
73 | * @gedmo\Timestampable(on="create") |
||
74 | * @ORM\Column(type="datetime") |
||
75 | */ |
||
76 | private $created; |
||
77 | |||
78 | /** |
||
79 | * @ORM\ManyToOne(targetEntity="Company") |
||
80 | */ |
||
81 | private $company; |
||
82 | |||
83 | /** |
||
84 | * @ORM\ManyToOne(targetEntity="\WebCMS\Entity\User") |
||
85 | */ |
||
86 | private $user; |
||
87 | |||
88 | |||
89 | public function getName() |
||
93 | |||
94 | public function setName($name) |
||
99 | |||
100 | public function getLastname() |
||
104 | |||
105 | public function setLastname($lastname) |
||
110 | |||
111 | public function getStreet() |
||
115 | |||
116 | public function setStreet($street) |
||
121 | |||
122 | public function getZipCity() |
||
126 | |||
127 | public function setZipCity($zipCity) |
||
132 | |||
133 | public function getEmail() |
||
137 | |||
138 | public function setEmail($email) |
||
143 | |||
144 | public function getPhone() |
||
145 | { |
||
146 | return $this->phone; |
||
147 | } |
||
148 | |||
149 | public function setPhone($phone) |
||
150 | { |
||
151 | $this->phone = $phone; |
||
152 | return $this; |
||
153 | } |
||
154 | |||
155 | public function getBusinessId() |
||
159 | |||
160 | public function setBusinessId($businessId) |
||
165 | |||
166 | public function getBusinessUrl() |
||
170 | |||
171 | public function setBusinessUrl($businessUrl) |
||
176 | |||
177 | public function getActive() |
||
181 | |||
182 | public function setActive($active) |
||
187 | |||
188 | public function getCreated() |
||
192 | |||
193 | public function setCreated($created) |
||
198 | |||
199 | public function getCompany() |
||
200 | { |
||
201 | return $this->company; |
||
202 | } |
||
203 | |||
204 | public function setCompany($company) |
||
205 | { |
||
206 | $this->company = $company; |
||
207 | return $this; |
||
208 | } |
||
209 | |||
210 | public function getUser() |
||
214 | |||
215 | public function setUser($user) |
||
220 | |||
221 | public function getBusinessname() |
||
225 | |||
226 | public function setBusinessname($businessname) |
||
231 | |||
232 | } |
||
233 |