12345678910111213141516171819202122232425 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Administrator
- * Date: 2019/4/8
- * Time: 15:27
- */
- namespace App\Transfer;
- use Illuminate\Database\Eloquent\Model;
- class JobsContact extends Model
- {
- protected $connection = "transfer_center";
- protected $table = "qs_jobs_contact";
- protected $guarded = [];
- public function jobs()
- {
- return $this->belongsTo(Jobs::class, 'pid');
- }
- }
|