Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

AdminDetail.php 340B

1234567891011121314151617
  1. <?php
  2. namespace App\Model;
  3. use Jenssegers\Mongodb\Eloquent\Model as Eloquent;
  4. class AdminDetail extends Eloquent {
  5. //
  6. protected $connection = 'mongodb';
  7. protected $collection = 'dealer_detail';
  8. protected $guarded = ['_id'];
  9. public function dealers() {
  10. return $this->belongsTo('App\Dealer','email','email');
  11. }
  12. }