dto.setId(order.getId());
dto.setState(order.getState().getName());
dto.setDescription(order.getDescription());
dto.setCost(order.getCost());
dto.setClientId(order.getClient().getId());
Contact creator = order.getCreator().getContact();
dto.setCreatorName(creator.getLastName() + " " + creator.getFirstName()
+ (creator.getMiddleName() == null ? "" : creator.getMiddleName()));
dto.setRecipientId(order.getRecipient().getId());
dto.setCreatorId(order.getCreator().getId());
dto.setExecutorId(order.getExecutor().getId());
dto.setDeliveryManagerId(order.getDeliveryManager().getId());
dto.setComment(order.getComment());