[WIP][3.9] Implement doctrine entities for orders