announcement_rel_group.class.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 AnnouncementRelGroup extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\AnnouncementRelGroupRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\AnnouncementRelGroupRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\AnnouncementRelGroup
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $group_id
  25. */
  26. protected $group_id;
  27. /**
  28. * @var integer $announcement_id
  29. */
  30. protected $announcement_id;
  31. /**
  32. * Set group_id
  33. *
  34. * @param integer $value
  35. * @return AnnouncementRelGroup
  36. */
  37. public function set_group_id($value)
  38. {
  39. $this->group_id = $value;
  40. return $this;
  41. }
  42. /**
  43. * Get group_id
  44. *
  45. * @return integer
  46. */
  47. public function get_group_id()
  48. {
  49. return $this->group_id;
  50. }
  51. /**
  52. * Set announcement_id
  53. *
  54. * @param integer $value
  55. * @return AnnouncementRelGroup
  56. */
  57. public function set_announcement_id($value)
  58. {
  59. $this->announcement_id = $value;
  60. return $this;
  61. }
  62. /**
  63. * Get announcement_id
  64. *
  65. * @return integer
  66. */
  67. public function get_announcement_id()
  68. {
  69. return $this->announcement_id;
  70. }
  71. }