legal.class.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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 Legal extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\LegalRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\LegalRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\Legal
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $legal_id
  25. */
  26. protected $legal_id;
  27. /**
  28. * @var integer $language_id
  29. */
  30. protected $language_id;
  31. /**
  32. * @var integer $date
  33. */
  34. protected $date;
  35. /**
  36. * @var text $content
  37. */
  38. protected $content;
  39. /**
  40. * @var integer $type
  41. */
  42. protected $type;
  43. /**
  44. * @var text $changes
  45. */
  46. protected $changes;
  47. /**
  48. * @var integer $version
  49. */
  50. protected $version;
  51. /**
  52. * Set legal_id
  53. *
  54. * @param integer $value
  55. * @return Legal
  56. */
  57. public function set_legal_id($value)
  58. {
  59. $this->legal_id = $value;
  60. return $this;
  61. }
  62. /**
  63. * Get legal_id
  64. *
  65. * @return integer
  66. */
  67. public function get_legal_id()
  68. {
  69. return $this->legal_id;
  70. }
  71. /**
  72. * Set language_id
  73. *
  74. * @param integer $value
  75. * @return Legal
  76. */
  77. public function set_language_id($value)
  78. {
  79. $this->language_id = $value;
  80. return $this;
  81. }
  82. /**
  83. * Get language_id
  84. *
  85. * @return integer
  86. */
  87. public function get_language_id()
  88. {
  89. return $this->language_id;
  90. }
  91. /**
  92. * Set date
  93. *
  94. * @param integer $value
  95. * @return Legal
  96. */
  97. public function set_date($value)
  98. {
  99. $this->date = $value;
  100. return $this;
  101. }
  102. /**
  103. * Get date
  104. *
  105. * @return integer
  106. */
  107. public function get_date()
  108. {
  109. return $this->date;
  110. }
  111. /**
  112. * Set content
  113. *
  114. * @param text $value
  115. * @return Legal
  116. */
  117. public function set_content($value)
  118. {
  119. $this->content = $value;
  120. return $this;
  121. }
  122. /**
  123. * Get content
  124. *
  125. * @return text
  126. */
  127. public function get_content()
  128. {
  129. return $this->content;
  130. }
  131. /**
  132. * Set type
  133. *
  134. * @param integer $value
  135. * @return Legal
  136. */
  137. public function set_type($value)
  138. {
  139. $this->type = $value;
  140. return $this;
  141. }
  142. /**
  143. * Get type
  144. *
  145. * @return integer
  146. */
  147. public function get_type()
  148. {
  149. return $this->type;
  150. }
  151. /**
  152. * Set changes
  153. *
  154. * @param text $value
  155. * @return Legal
  156. */
  157. public function set_changes($value)
  158. {
  159. $this->changes = $value;
  160. return $this;
  161. }
  162. /**
  163. * Get changes
  164. *
  165. * @return text
  166. */
  167. public function get_changes()
  168. {
  169. return $this->changes;
  170. }
  171. /**
  172. * Set version
  173. *
  174. * @param integer $value
  175. * @return Legal
  176. */
  177. public function set_version($value)
  178. {
  179. $this->version = $value;
  180. return $this;
  181. }
  182. /**
  183. * Get version
  184. *
  185. * @return integer
  186. */
  187. public function get_version()
  188. {
  189. return $this->version;
  190. }
  191. }