Institution.php 267 B

12345678910111213
  1. <?php
  2. namespace App;
  3. use Illuminate\Database\Eloquent\Model;
  4. class Institution extends Model
  5. {
  6. protected $table = 'institutions';
  7. public function academic_level_info(){
  8. return $this->belongsTo(AcademicLevel::class,'academic_level','id');
  9. }
  10. }