DocterSetting.php 315 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: zilongs
  5. * Date: 20-9-29
  6. * Time: 上午11:12
  7. */
  8. namespace App\Models;
  9. class DocterSetting extends BaseModel
  10. {
  11. protected $table="docter_settings";
  12. public function organization()
  13. {
  14. return $this->belongsTo(Organization::class,'org_id','id');
  15. }
  16. }