Proposal.php 244 B

1234567891011121314
  1. <?php
  2. namespace App;
  3. use Illuminate\Database\Eloquent\Model;
  4. class Proposal extends Model
  5. {
  6. protected $table = 'proposal';
  7. public function department(){
  8. return $this->belongsTo('App\Models\Department','department');
  9. }
  10. }