system_template.class.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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 SystemTemplate extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\SystemTemplateRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\SystemTemplateRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\SystemTemplate
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $id
  25. */
  26. protected $id;
  27. /**
  28. * @var string $title
  29. */
  30. protected $title;
  31. /**
  32. * @var text $comment
  33. */
  34. protected $comment;
  35. /**
  36. * @var string $image
  37. */
  38. protected $image;
  39. /**
  40. * @var text $content
  41. */
  42. protected $content;
  43. /**
  44. * Get id
  45. *
  46. * @return integer
  47. */
  48. public function get_id()
  49. {
  50. return $this->id;
  51. }
  52. /**
  53. * Set title
  54. *
  55. * @param string $value
  56. * @return SystemTemplate
  57. */
  58. public function set_title($value)
  59. {
  60. $this->title = $value;
  61. return $this;
  62. }
  63. /**
  64. * Get title
  65. *
  66. * @return string
  67. */
  68. public function get_title()
  69. {
  70. return $this->title;
  71. }
  72. /**
  73. * Set comment
  74. *
  75. * @param text $value
  76. * @return SystemTemplate
  77. */
  78. public function set_comment($value)
  79. {
  80. $this->comment = $value;
  81. return $this;
  82. }
  83. /**
  84. * Get comment
  85. *
  86. * @return text
  87. */
  88. public function get_comment()
  89. {
  90. return $this->comment;
  91. }
  92. /**
  93. * Set image
  94. *
  95. * @param string $value
  96. * @return SystemTemplate
  97. */
  98. public function set_image($value)
  99. {
  100. $this->image = $value;
  101. return $this;
  102. }
  103. /**
  104. * Get image
  105. *
  106. * @return string
  107. */
  108. public function get_image()
  109. {
  110. return $this->image;
  111. }
  112. /**
  113. * Set content
  114. *
  115. * @param text $value
  116. * @return SystemTemplate
  117. */
  118. public function set_content($value)
  119. {
  120. $this->content = $value;
  121. return $this;
  122. }
  123. /**
  124. * Get content
  125. *
  126. * @return text
  127. */
  128. public function get_content()
  129. {
  130. return $this->content;
  131. }
  132. }