CommissionHistory.php 211 B

123456789101112
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. class CommissionHistory extends Model
  5. {
  6. public function order() {
  7. return $this->hasOne(Order::class, 'id', 'order_id');
  8. }
  9. }