]> Raphaƫl G. Git Repositories - airbundle/blob - Entity/Vote.php
Add lang in html tag from request locale
[airbundle] / Entity / Vote.php
1 <?php
2
3 namespace Rapsys\AirBundle\Entity;
4
5 /**
6 * Vote
7 */
8 class Vote {
9 /**
10 * @var integer
11 */
12 private $id;
13
14 /**
15 * @var \DateTime
16 */
17 private $created;
18
19 /**
20 * @var \DateTime
21 */
22 private $updated;
23
24 /**
25 * @var \Rapsys\AirBundle\Entity\Application
26 */
27 private $application;
28
29 /**
30 * @var \Rapsys\AirBundle\Entity\User
31 */
32 private $user;
33
34 /**
35 * Get id
36 *
37 * @return integer
38 */
39 public function getId() {
40 return $this->id;
41 }
42
43 /**
44 * Set created
45 *
46 * @param \DateTime $created
47 *
48 * @return Vote
49 */
50 public function setCreated($created) {
51 $this->created = $created;
52
53 return $this;
54 }
55
56 /**
57 * Get created
58 *
59 * @return \DateTime
60 */
61 public function getCreated() {
62 return $this->created;
63 }
64
65 /**
66 * Set updated
67 *
68 * @param \DateTime $updated
69 *
70 * @return Vote
71 */
72 public function setUpdated($updated) {
73 $this->updated = $updated;
74
75 return $this;
76 }
77
78 /**
79 * Get updated
80 *
81 * @return \DateTime
82 */
83 public function getUpdated() {
84 return $this->updated;
85 }
86
87 /**
88 * Set application
89 *
90 * @param \Rapsys\AirBundle\Entity\Application $application
91 *
92 * @return Vote
93 */
94 public function setApplication(\Rapsys\AirBundle\Entity\Application $application = null) {
95 $this->application = $application;
96
97 return $this;
98 }
99
100 /**
101 * Get application
102 *
103 * @return \Rapsys\AirBundle\Entity\Application
104 */
105 public function getApplication() {
106 return $this->application;
107 }
108
109 /**
110 * Set user
111 *
112 * @param \Rapsys\AirBundle\Entity\User $user
113 *
114 * @return Vote
115 */
116 public function setUser(\Rapsys\AirBundle\Entity\User $user = null) {
117 $this->user = $user;
118
119 return $this;
120 }
121
122 /**
123 * Get user
124 *
125 * @return \Rapsys\AirBundle\Entity\User
126 */
127 public function getUser() {
128 return $this->user;
129 }
130 }