]> Raphaƫl G. Git Repositories - airbundle/blob - Entity/Application.php
Remove Vote entity
[airbundle] / Entity / Application.php
1 <?php
2
3 namespace Rapsys\AirBundle\Entity;
4
5 /**
6 * Application
7 */
8 class Application {
9 /**
10 * @var integer
11 */
12 private $id;
13
14 /**
15 * @var float
16 */
17 private $score;
18
19 /**
20 * @var \DateTime
21 */
22 private $canceled;
23
24 /**
25 * @var \DateTime
26 */
27 private $created;
28
29 /**
30 * @var \DateTime
31 */
32 private $updated;
33
34 /**
35 * @var \Rapsys\AirBundle\Entity\Session
36 */
37 private $session;
38
39 /**
40 * @var \Rapsys\AirBundle\Entity\User
41 */
42 private $user;
43
44 /**
45 * Get id
46 *
47 * @return integer
48 */
49 public function getId() {
50 return $this->id;
51 }
52
53 /**
54 * Set score
55 *
56 * @param float $score
57 *
58 * @return Application
59 */
60 public function setScore($score) {
61 $this->score = $score;
62
63 return $this;
64 }
65
66 /**
67 * Get score
68 *
69 * @return float
70 */
71 public function getScore() {
72 return $this->score;
73 }
74
75 /**
76 * Set canceled
77 *
78 * @param \DateTime $canceled
79 *
80 * @return Application
81 */
82 public function setCanceled($canceled) {
83 $this->canceled = $canceled;
84
85 return $this;
86 }
87
88 /**
89 * Get canceled
90 *
91 * @return \DateTime
92 */
93 public function getCanceled() {
94 return $this->canceled;
95 }
96
97 /**
98 * Set created
99 *
100 * @param \DateTime $created
101 *
102 * @return Application
103 */
104 public function setCreated($created) {
105 $this->created = $created;
106
107 return $this;
108 }
109
110 /**
111 * Get created
112 *
113 * @return \DateTime
114 */
115 public function getCreated() {
116 return $this->created;
117 }
118
119 /**
120 * Set updated
121 *
122 * @param \DateTime $updated
123 *
124 * @return Application
125 */
126 public function setUpdated($updated) {
127 $this->updated = $updated;
128
129 return $this;
130 }
131
132 /**
133 * Get updated
134 *
135 * @return \DateTime
136 */
137 public function getUpdated() {
138 return $this->updated;
139 }
140
141 /**
142 * Set session
143 *
144 * @param \Rapsys\AirBundle\Entity\Session $session
145 *
146 * @return Application
147 */
148 public function setSession(\Rapsys\AirBundle\Entity\Session $session = null) {
149 $this->session = $session;
150
151 return $this;
152 }
153
154 /**
155 * Get session
156 *
157 * @return \Rapsys\AirBundle\Entity\Session
158 */
159 public function getSession() {
160 return $this->session;
161 }
162
163 /**
164 * Set user
165 *
166 * @param \Rapsys\AirBundle\Entity\User $user
167 *
168 * @return Application
169 */
170 public function setUser(\Rapsys\AirBundle\Entity\User $user = null) {
171 $this->user = $user;
172
173 return $this;
174 }
175
176 /**
177 * Get user
178 *
179 * @return \Rapsys\AirBundle\Entity\User
180 */
181 public function getUser() {
182 return $this->user;
183 }
184 }