]> Raphaƫl G. Git Repositories - blogbundle/blob - Entity/AuthorTranslation.php
Remove old translations
[blogbundle] / Entity / AuthorTranslation.php
1 <?php
2
3 namespace Rapsys\BlogBundle\Entity;
4
5 /**
6 * AuthorTranslation
7 */
8 class AuthorTranslation
9 {
10 /**
11 * @var integer
12 */
13 private $author_id;
14
15 /**
16 * @var integer
17 */
18 private $language_id;
19
20 /**
21 * @var string
22 */
23 private $description;
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\Author
37 */
38 private $author;
39
40
41 /**
42 * Set authorId
43 *
44 * @param integer $authorId
45 *
46 * @return AuthorTranslation
47 */
48 public function setAuthorId($authorId)
49 {
50 $this->author_id = $authorId;
51
52 return $this;
53 }
54
55 /**
56 * Get authorId
57 *
58 * @return integer
59 */
60 public function getAuthorId()
61 {
62 return $this->author_id;
63 }
64
65 /**
66 * Set languageId
67 *
68 * @param integer $languageId
69 *
70 * @return AuthorTranslation
71 */
72 public function setLanguageId($languageId)
73 {
74 $this->language_id = $languageId;
75
76 return $this;
77 }
78
79 /**
80 * Get languageId
81 *
82 * @return integer
83 */
84 public function getLanguageId()
85 {
86 return $this->language_id;
87 }
88
89 /**
90 * Set description
91 *
92 * @param string $description
93 *
94 * @return AuthorTranslation
95 */
96 public function setDescription($description)
97 {
98 $this->description = $description;
99
100 return $this;
101 }
102
103 /**
104 * Get description
105 *
106 * @return string
107 */
108 public function getDescription()
109 {
110 return $this->description;
111 }
112
113 /**
114 * Set created
115 *
116 * @param \DateTime $created
117 *
118 * @return AuthorTranslation
119 */
120 public function setCreated($created)
121 {
122 $this->created = $created;
123
124 return $this;
125 }
126
127 /**
128 * Get created
129 *
130 * @return \DateTime
131 */
132 public function getCreated()
133 {
134 return $this->created;
135 }
136
137 /**
138 * Set updated
139 *
140 * @param \DateTime $updated
141 *
142 * @return AuthorTranslation
143 */
144 public function setUpdated($updated)
145 {
146 $this->updated = $updated;
147
148 return $this;
149 }
150
151 /**
152 * Get updated
153 *
154 * @return \DateTime
155 */
156 public function getUpdated()
157 {
158 return $this->updated;
159 }
160
161 /**
162 * Set author
163 *
164 * @param \Rapsys\BlogBundle\Entity\Author $author
165 *
166 * @return AuthorTranslation
167 */
168 public function setAuthor(\Rapsys\BlogBundle\Entity\Author $author = null)
169 {
170 $this->author = $author;
171
172 return $this;
173 }
174
175 /**
176 * Get author
177 *
178 * @return \Rapsys\BlogBundle\Entity\Author
179 */
180 public function getAuthor()
181 {
182 return $this->author;
183 }
184 /**
185 * @var \Rapsys\BlogBundle\Entity\Language
186 */
187 private $language;
188
189
190 /**
191 * Set language
192 *
193 * @param \Rapsys\BlogBundle\Entity\Language $language
194 *
195 * @return AuthorTranslation
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 }