Nenhuma descrição

Faculty.php 221B

1234567891011121314
  1. <?php
  2. namespace App;
  3. use Illuminate\Database\Eloquent\Model;
  4. class Faculty extends Model
  5. {
  6. public $timestamps = false;
  7. public function departments() {
  8. return $this->hasMany(Department::class);
  9. }
  10. }