create order and details_order models