#pragma once #include #include class CWaimaiOrderItem { public: std::string m_id; std::string m_food_name; std::string m_item_price; std::string m_quantity; std::string m_type_id; std::string m_foodpackage_id; std::string m_is_foodpackage; std::string m_food_unit; std::string m_order_item_id; std::string m_food_id; std::string m_barcode; }; class CWaimaiOrderField { public: std::string name; std::string value; }; class CWaimaiOrder { public: CWaimaiOrder(); ~CWaimaiOrder(); void InitData(std::string order_id, std::string order_no); public: std::string m_order_id; std::string m_shop_id; std::string m_customer_id; std::string m_customer_name; std::string m_phone; std::string m_address; std::string m_memo; std::string m_pay_type; std::string m_promotion; std::string m_is_member_discount; std::string m_member_discount; double m_discount; double m_coupon; double m_delivery; double m_price; std::string m_order_date; std::string m_order_fields; std::string m_order_status; std::string m_courier_id; std::string m_is_selftake; std::string m_addservice_text; std::string m_is_dabao; std::string m_dabao_money; std::string m_phone_customer_id; std::string m_order_num; std::string m_from_type; std::string m_is_refund; std::string m_refund_status; std::string m_is_pickup; std::string m_pickup_time; std::string m_verify_time; std::string m_verify_user; std::string m_refund_failed_reason; std::string m_refund_time; std::string m_failed_reason; std::string m_configmemo; std::string m_courier_type; std::string m_courier_name; std::string m_courier_phone; std::string m_receiver_lng; std::string m_receiver_lat; std::string m_reduction_value; std::string m_price_moling; std::string m_price_plus; std::string m_discount_price; std::string m_order_no; std::string m_is_firstcut; std::string m_firstcut_value; std::string m_goods_coupon_value; std::string m_take_food_code; std::string m_need_to_refund; int m_is_nowprinter; std::string m_shop_name; std::string m_longitude; std::string m_latitude; std::string m_open_selftake; std::string m_invitetimetimerange; std::string m_machine_qrcode_open; std::string m_machine_qrcode_url; std::string m_machine_qrcode_title; std::string m_delivery_date; std::string m_head_picture; std::string m_courier; std::string m_delivertime; std::string m_customer_order_total; int m_invoice; std::string m_invoice_type; std::string m_tax_payer_id; std::vector m_order_items; std::vector m_order_field; };