TaskLog.php 414 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: Administrator
  5. * Date: 2019/4/17
  6. * Time: 9:54
  7. */
  8. namespace App\Transfer;
  9. use Illuminate\Database\Eloquent\Model;
  10. class TaskLog extends Model
  11. {
  12. protected $connection = "transfer_center";
  13. protected $table = "qs_task_log";
  14. protected $guarded = [];
  15. public function companys()
  16. {
  17. return $this->belongsTo(Company::class, 'uid', 'uid');
  18. }
  19. }