DocterSetting.php 347 B

1234567891011121314151617181920
  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 $timestamps = false;
  13. public function organization()
  14. {
  15. return $this->belongsTo(Organization::class,'org_id','id');
  16. }
  17. }