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