Нет описания

1234567891011121314151617
  1. <?php
  2. class Semester extends Eloquent
  3. {
  4. /**
  5. * Indicates if the model should be timestamped.
  6. *
  7. * @var bool
  8. */
  9. public $timestamps = false;
  10. public function courses()
  11. {
  12. return $this->hasMany('Course');
  13. }
  14. }