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