using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.OtherWaiMai { [Serializable] [JsonObject(MemberSerialization.OptIn)] public class BaiduOrderInfo { /// /// 订单ID /// [JsonProperty(PropertyName = "order_id")] public string Order_id { get; set; } /// /// 是否立即送餐,1 是 2 否 /// [JsonProperty(PropertyName = "send_immediately")] public int Send_immediately { get; set; } /// /// 订单当日流水号 /// [JsonProperty(PropertyName = "order_index")] public string Order_index { get; set; } /// /// 订单状态 /// [JsonProperty(PropertyName = "status")] public int Status { get; set; } /// /// 送达时间类型 1定时达 2限时达(错峰配送) /// [JsonProperty(PropertyName = "expect_time_mode")] public int Expect_time_mode { get; set; } /// /// 期望送达时间 /// [JsonProperty(PropertyName = "send_time")] public string Send_time { get; set; } /// /// 取餐时间 /// [JsonProperty(PropertyName = "pickup_time")] public string Pickup_time { get; set; } /// /// 到店时间 /// [JsonProperty(PropertyName = "atshop_time")] public string Atshop_time { get; set; } /// /// 送餐时间 /// [JsonProperty(PropertyName = "delivery_time")] public string Delivery_time { get; set; } /// /// 骑士手机号 /// [JsonProperty(PropertyName = "delivery_phone")] public string Delivery_phone { get; set; } /// /// 完成时间 /// [JsonProperty(PropertyName = "finished_time")] public string Finished_time { get; set; } /// /// 确认时间 /// [JsonProperty(PropertyName = "confirm_time")] public string Confirm_time { get; set; } /// /// 取消时间 /// [JsonProperty(PropertyName = "cancel_time")] public string Cancel_time { get; set; } /// /// 配送费,单位:分 /// [JsonProperty(PropertyName = "send_fee")] public int Send_fee { get; set; } /// /// 餐盒费,单位:分 /// [JsonProperty(PropertyName = "package_fee")] public int Package_fee { get; set; } /// /// 优惠总金额,单位:分 /// [JsonProperty(PropertyName = "discount_fee")] public int Discount_fee { get; set; } /// /// 商户应收金额(百度物流),单位:分(自配送为用户实付) /// [JsonProperty(PropertyName = "shop_fee")] public int Shop_fee { get; set; } /// /// 订单总金额,单位:分 /// [JsonProperty(PropertyName = "total_fee")] public int Total_fee { get; set; } /// /// 用户实付金额,单位:分 /// [JsonProperty(PropertyName = "user_fee")] public int User_fee { get; set; } /// /// 付款类型 1 下线 2 在线 /// [JsonProperty(PropertyName = "pay_type")] public int Pay_type { get; set; } /// /// 是否需要发票 1 是 2 否 /// [JsonProperty(PropertyName = "need_invoice")] public int Need_invoice { get; set; } /// /// 发票抬头 /// [JsonProperty(PropertyName = "invoice_title")] public string Invoice_title { get; set; } /// /// 订单备注 /// [JsonProperty(PropertyName = "remark")] public string Remark { get; set; } /// /// 物流类型 1 百度 2 自配送 /// [JsonProperty(PropertyName = "delivery_party")] public int Delivery_party { get; set; } /// /// 创建时间 /// [JsonProperty(PropertyName = "create_time")] public string Create_time { get; set; } /// /// 餐具数量 /// [JsonProperty(PropertyName = "meal_num")] public string Meal_num { get; set; } /// /// 取消订单责任承担方 /// [JsonProperty(PropertyName = "responsible_party")] public string Responsible_party { get; set; } /// /// 佣金,单位:分 /// [JsonProperty(PropertyName = "commission")] public int Commission { get; set; } } }