belongsTo('App\Models\Merchant', 'merchant_id', 'id'); } public function admin() { return $this->belongsTo('App\User', 'created_by', 'id'); } }