$order = factory(Order::class)->create();
$order->setStatus('status');
$status = $order->status; // null
$status = Order::find($order->order_id)->status; // find status
public function setStatus($status, $timestamp = null)
{
return $this->status()->create([
'status' => $status,
'timestamp' => $timestamp
]);
}