]> Raphaƫl G. Git Repositories - blogbundle/blob - Entity/KeywordTranslation.php
Import composer json
[blogbundle] / Entity / KeywordTranslation.php
1 <?php
2
3 namespace Rapsys\BlogBundle\Entity;
4
5 /**
6 * KeywordTranslation
7 */
8 class KeywordTranslation
9 {
10 /**
11 * @var integer
12 */
13 private $keyword_id;
14
15 /**
16 * @var integer
17 */
18 private $language_id;
19
20 /**
21 * @var string
22 */
23 private $title;
24
25 /**
26 * @var \DateTime
27 */
28 private $created;
29
30 /**
31 * @var \DateTime
32 */
33 private $updated;
34
35 /**
36 * @var \Rapsys\BlogBundle\Entity\Keyword
37 */
38 private $keyword;
39
40 /**
41 * @var \Rapsys\BlogBundle\Entity\Language
42 */
43 private $language;
44
45
46 /**
47 * Set keywordId
48 *
49 * @param integer $keywordId
50 *
51 * @return KeywordTranslation
52 */
53 public function setKeywordId($keywordId)
54 {
55 $this->keyword_id = $keywordId;
56
57 return $this;
58 }
59
60 /**
61 * Get keywordId
62 *
63 * @return integer
64 */
65 public function getKeywordId()
66 {
67 return $this->keyword_id;
68 }
69
70 /**
71 * Set languageId
72 *
73 * @param integer $languageId
74 *
75 * @return KeywordTranslation
76 */
77 public function setLanguageId($languageId)
78 {
79 $this->language_id = $languageId;
80
81 return $this;
82 }
83
84 /**
85 * Get languageId
86 *
87 * @return integer
88 */
89 public function getLanguageId()
90 {
91 return $this->language_id;
92 }
93
94 /**
95 * Set title
96 *
97 * @param string $title
98 *
99 * @return KeywordTranslation
100 */
101 public function setTitle($title)
102 {
103 $this->title = $title;
104
105 return $this;
106 }
107
108 /**
109 * Get title
110 *
111 * @return string
112 */
113 public function getTitle()
114 {
115 return $this->title;
116 }
117
118 /**
119 * Set created
120 *
121 * @param \DateTime $created
122 *
123 * @return KeywordTranslation
124 */
125 public function setCreated($created)
126 {
127 $this->created = $created;
128
129 return $this;
130 }
131
132 /**
133 * Get created
134 *
135 * @return \DateTime
136 */
137 public function getCreated()
138 {
139 return $this->created;
140 }
141
142 /**
143 * Set updated
144 *
145 * @param \DateTime $updated
146 *
147 * @return KeywordTranslation
148 */
149 public function setUpdated($updated)
150 {
151 $this->updated = $updated;
152
153 return $this;
154 }
155
156 /**
157 * Get updated
158 *
159 * @return \DateTime
160 */
161 public function getUpdated()
162 {
163 return $this->updated;
164 }
165
166 /**
167 * Set keyword
168 *
169 * @param \Rapsys\BlogBundle\Entity\Keyword $keyword
170 *
171 * @return KeywordTranslation
172 */
173 public function setKeyword(\Rapsys\BlogBundle\Entity\Keyword $keyword = null)
174 {
175 $this->keyword = $keyword;
176
177 return $this;
178 }
179
180 /**
181 * Get keyword
182 *
183 * @return \Rapsys\BlogBundle\Entity\Keyword
184 */
185 public function getKeyword()
186 {
187 return $this->keyword;
188 }
189
190 /**
191 * Set language
192 *
193 * @param \Rapsys\BlogBundle\Entity\Language $language
194 *
195 * @return KeywordTranslation
196 */
197 public function setLanguage(\Rapsys\BlogBundle\Entity\Language $language = null)
198 {
199 $this->language = $language;
200
201 return $this;
202 }
203
204 /**
205 * Get language
206 *
207 * @return \Rapsys\BlogBundle\Entity\Language
208 */
209 public function getLanguage()
210 {
211 return $this->language;
212 }
213 /**
214 * @var string
215 */
216 private $slug;
217
218
219 /**
220 * Set slug
221 *
222 * @param string $slug
223 *
224 * @return KeywordTranslation
225 */
226 public function setSlug($slug)
227 {
228 $this->slug = $slug;
229
230 return $this;
231 }
232
233 /**
234 * Get slug
235 *
236 * @return string
237 */
238 public function getSlug()
239 {
240 return $this->slug;
241 }
242 /**
243 * @var string
244 */
245 private $description;
246
247
248 /**
249 * Set description
250 *
251 * @param string $description
252 *
253 * @return KeywordTranslation
254 */
255 public function setDescription($description)
256 {
257 $this->description = $description;
258
259 return $this;
260 }
261
262 /**
263 * Get description
264 *
265 * @return string
266 */
267 public function getDescription()
268 {
269 return $this->description;
270 }
271 }