online_link.class.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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 OnlineLink extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\OnlineLinkRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\OnlineLinkRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\OnlineLink
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $c_id
  25. */
  26. protected $c_id;
  27. /**
  28. * @var integer $id
  29. */
  30. protected $id;
  31. /**
  32. * @var string $name
  33. */
  34. protected $name;
  35. /**
  36. * @var string $url
  37. */
  38. protected $url;
  39. /**
  40. * Set c_id
  41. *
  42. * @param integer $value
  43. * @return OnlineLink
  44. */
  45. public function set_c_id($value)
  46. {
  47. $this->c_id = $value;
  48. return $this;
  49. }
  50. /**
  51. * Get c_id
  52. *
  53. * @return integer
  54. */
  55. public function get_c_id()
  56. {
  57. return $this->c_id;
  58. }
  59. /**
  60. * Set id
  61. *
  62. * @param integer $value
  63. * @return OnlineLink
  64. */
  65. public function set_id($value)
  66. {
  67. $this->id = $value;
  68. return $this;
  69. }
  70. /**
  71. * Get id
  72. *
  73. * @return integer
  74. */
  75. public function get_id()
  76. {
  77. return $this->id;
  78. }
  79. /**
  80. * Set name
  81. *
  82. * @param string $value
  83. * @return OnlineLink
  84. */
  85. public function set_name($value)
  86. {
  87. $this->name = $value;
  88. return $this;
  89. }
  90. /**
  91. * Get name
  92. *
  93. * @return string
  94. */
  95. public function get_name()
  96. {
  97. return $this->name;
  98. }
  99. /**
  100. * Set url
  101. *
  102. * @param string $value
  103. * @return OnlineLink
  104. */
  105. public function set_url($value)
  106. {
  107. $this->url = $value;
  108. return $this;
  109. }
  110. /**
  111. * Get url
  112. *
  113. * @return string
  114. */
  115. public function get_url()
  116. {
  117. return $this->url;
  118. }
  119. }