getAttributes(); $workOrder->details()->create($param); $workOrder->loadMissing('details'); } }