暫無描述

123456789101112131415
  1. <?php
  2. class Template extends Eloquent
  3. {
  4. public function program()
  5. {
  6. return $this->belongsTo('Program');
  7. }
  8. public function school()
  9. {
  10. return $this->belongsTo('School');
  11. }
  12. }