promotion.class.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. *
  6. * @license see /license.txt
  7. * @author autogenerated
  8. */
  9. class Promotion extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\PromotionRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\PromotionRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\Promotion
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var string $name
  29. */
  30. protected $name;
  31. /**
  32. * @var text $description
  33. */
  34. protected $description;
  35. /**
  36. * @var integer $career_id
  37. */
  38. protected $career_id;
  39. /**
  40. * @var integer $status
  41. */
  42. protected $status;
  43. /**
  44. * @var datetime $created_at
  45. */
  46. protected $created_at;
  47. /**
  48. * @var datetime $updated_at
  49. */
  50. protected $updated_at;
  51. /**
  52. * Get id
  53. *
  54. * @return integer
  55. */
  56. public function get_id()
  57. {
  58. return $this->id;
  59. }
  60. /**
  61. * Set name
  62. *
  63. * @param string $value
  64. * @return Promotion
  65. */
  66. public function set_name($value)
  67. {
  68. $this->name = $value;
  69. return $this;
  70. }
  71. /**
  72. * Get name
  73. *
  74. * @return string
  75. */
  76. public function get_name()
  77. {
  78. return $this->name;
  79. }
  80. /**
  81. * Set description
  82. *
  83. * @param text $value
  84. * @return Promotion
  85. */
  86. public function set_description($value)
  87. {
  88. $this->description = $value;
  89. return $this;
  90. }
  91. /**
  92. * Get description
  93. *
  94. * @return text
  95. */
  96. public function get_description()
  97. {
  98. return $this->description;
  99. }
  100. /**
  101. * Set career_id
  102. *
  103. * @param integer $value
  104. * @return Promotion
  105. */
  106. public function set_career_id($value)
  107. {
  108. $this->career_id = $value;
  109. return $this;
  110. }
  111. /**
  112. * Get career_id
  113. *
  114. * @return integer
  115. */
  116. public function get_career_id()
  117. {
  118. return $this->career_id;
  119. }
  120. /**
  121. * Set status
  122. *
  123. * @param integer $value
  124. * @return Promotion
  125. */
  126. public function set_status($value)
  127. {
  128. $this->status = $value;
  129. return $this;
  130. }
  131. /**
  132. * Get status
  133. *
  134. * @return integer
  135. */
  136. public function get_status()
  137. {
  138. return $this->status;
  139. }
  140. /**
  141. * Set created_at
  142. *
  143. * @param datetime $value
  144. * @return Promotion
  145. */
  146. public function set_created_at($value)
  147. {
  148. $this->created_at = $value;
  149. return $this;
  150. }
  151. /**
  152. * Get created_at
  153. *
  154. * @return datetime
  155. */
  156. public function get_created_at()
  157. {
  158. return $this->created_at;
  159. }
  160. /**
  161. * Set updated_at
  162. *
  163. * @param datetime $value
  164. * @return Promotion
  165. */
  166. public function set_updated_at($value)
  167. {
  168. $this->updated_at = $value;
  169. return $this;
  170. }
  171. /**
  172. * Get updated_at
  173. *
  174. * @return datetime
  175. */
  176. public function get_updated_at()
  177. {
  178. return $this->updated_at;
  179. }
  180. }