laravel 5.1 eloquent select with prefix joined table
<p>I have this query</p>

<pre><code>$sales = Sales::join('customer', 'customer.id', '=', 'sales.customer_id')
-&gt;join('cashier', 'cashier.id', '=', 'sales.cashier_id')
-&gt;first();
</code></pre>

<p>how can i select each table with prefix so i can call like this :</p>

<ul>
<li>$order->customer_name</li>
<li>$order->cashier_name</li>
</ul>

<p>with my query above, i only get one name row because each table have same column name <code>name</code>, what
i want is to give prefixed in each table i call like <code>customer_</code>, <code>cashier_</code>, <code>sales_</code></p>

<h1>Update</h1>

<p>the result what i expect is like this</p>

<pre><code>customer_name
customer_address
customer_phone
cashier_name
cashier_another_column
cashier_another_column2
sales_date
sales_another_column
sales_another_column2
</code></pre>