public Order transform(OrderEntity entity) {
    Order order = new Order();
    order.setCartList(entity.getCartList());
    order.setCreatedAt(entity.getCreatedAt());
    order.setObjectId(entity.getObjectId());
    order.setPrice(entity.getPrice());
    order.setContact(new ContactEntityDataMapper().transform(entity.getContactEntity()));
    order.setUsername(entity.getUsername());
    order.setUpdatedAt(entity.getUpdatedAt());

    return order;
  }
  public OrderEntity transformEntity(Order order) {
    OrderEntity entity = new OrderEntity();
    entity.setCartList(order.getCartList());
    entity.setCreatedAt(order.getCreatedAt());
    entity.setObjectId(order.getObjectId());
    entity.setPrice(order.getPrice());
    entity.setContactEntity(new ContactEntityDataMapper().transformEntity(order.getContact()));
    entity.setUsername(order.getUsername());
    entity.setUpdatedAt(order.getUpdatedAt());

    return entity;
  }