using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; namespace POSV.Card { /// /// 外卖订单列表 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class MeiTuanOrderListResponse { /// /// 订单创建时间(格式:yyyy-MM-dd HH:mm:ss) /// [JsonProperty(PropertyName = "cTime")] public string CTime { get; set; } /// /// 订单备注,例如忌口等信息 /// [JsonProperty(PropertyName = "caution")] public string Caution { get; set; } /// /// 用户预计送达时间[0为立即送达,除此外都是时间](格式:yyyy-MM-dd HH:mm:ss) /// [JsonProperty(PropertyName = "deliveryTime")] public string DeliveryTime { get; set; } /// /// 城市Id /// [JsonProperty(PropertyName = "cityId")] public string CityId { get; set; } /// /// erp方门店id,指的是三方系统中的门店Id /// [JsonProperty(PropertyName = "ePoiId")] public string EPoiId { get; set; } /// /// 是否需要发票,1-需要发票;0-不需要 /// [JsonProperty(PropertyName = "hasInvoiced")] public int HasInvoiced { get; set; } /// /// 发票抬头,XXX有限公司,如果用户选择需要发票,此字段是用户填写的发票抬头 /// [JsonProperty(PropertyName = "invoiceTitle")] public string InvoiceTitle { get; set; } /// /// 是否是预定单,1-预订单;0-非预定 /// [JsonProperty(PropertyName = "isPre")] public int IsPre { get; set; } /// /// 是否第三方配送,0-否;1-是,目前基本上不支持第三方配送 /// [JsonProperty(PropertyName = "isThirdShipping")] public string IsThirdShipping { get; set; } /// /// 实际送餐地址纬度,美团使用的是高德坐标系 /// [JsonProperty(PropertyName = "latitude")] public decimal Latitude { get; set; } /// /// 实际送餐地址经度,美团使用的是高德坐标系 /// [JsonProperty(PropertyName = "longitude")] public decimal Longitude { get; set; } /// /// 商家对账信息 /// [JsonProperty(PropertyName = "poiReceiveDetail")] public string PoiReceiveDetail { get; set; } /// /// 配送类型码(参考配送类型码) /// [JsonProperty(PropertyName = "logisticsCode")] public string LogisticsCode { get; set; } /// /// 配送完成时间(格式:yyyy-MM-dd HH:mm:ss) /// [JsonProperty(PropertyName = "logisticsCompletedTime")] public string LogisticsCompletedTime { get; set; } /// /// 配送单确认时间,骑手接单时间(格式:yyyy-MM-dd HH:mm:ss) /// [JsonProperty(PropertyName = "logisticsConfirmTime")] public string LogisticsConfirmTime { get; set; } /// /// 骑手电话 /// [JsonProperty(PropertyName = "logisticsDispatcherMobile")] public string LogisticsDispatcherMobile { get; set; } /// /// 骑手姓名 /// [JsonProperty(PropertyName = "logisticsDispatcherName")] public string LogisticsDispatcherName { get; set; } /// /// 骑手取单时间(格式:yyyy-MM-dd HH:mm:ss) /// [JsonProperty(PropertyName = "logisticsFetchTime")] public string LogisticsFetchTime { get; set; } /// /// 配送方ID /// [JsonProperty(PropertyName = "logisticsId")] public string LogisticsId { get; set; } /// /// 配送方名称,如:"快送" /// [JsonProperty(PropertyName = "logisticsName")] public string LogisticsName { get; set; } /// /// 配送单下单时间(格式:yyyy-MM-dd HH:mm:ss) /// [JsonProperty(PropertyName = "logisticsSendTime")] public string LogisticsSendTime { get; set; } /// /// 配送订单状态code,参考配送状态码 /// [JsonProperty(PropertyName = "logisticsStatus")] public int LogisticsStatus { get; set; } /// /// 订单完成时间(格式:yyyy-MM-dd HH:mm:ss) /// [JsonProperty(PropertyName = "orderCompletedTime")] public string OrderCompletedTime { get; set; } /// /// 商户确认时间(格式:yyyy-MM-dd HH:mm:ss) /// [JsonProperty(PropertyName = "orderConfirmTime")] public string OrderConfirmTime { get; set; } /// /// 订单取消时间(格式:yyyy-MM-dd HH:mm:ss) /// [JsonProperty(PropertyName = "orderCancelTime")] public string OrderCancelTime { get; set; } /// /// 订单Id /// [JsonProperty(PropertyName = "orderId")] public string OrderId { get; set; } /// /// 订单展示Id,指的是C端用户在外卖App上看到的订单号 /// [JsonProperty(PropertyName = "orderIdView")] public string OrderIdView { get; set; } /// /// 用户下单时间(格式:yyyy-MM-dd HH:mm:ss) /// [JsonProperty(PropertyName = "orderSendTime")] public string OrderSendTime { get; set; } /// /// 订单原价 /// [JsonProperty(PropertyName = "originalPrice")] public decimal OriginalPrice { get; set; } /// /// 订单支付类型(1:货到付款;2:在线支付) /// [JsonProperty(PropertyName = "payType")] public int PayType { get; set; } /// /// 门店地址,如:XX区XX路X号X楼 /// [JsonProperty(PropertyName = "poiAddress")] public string PoiAddress { get; set; } /// /// 门店Id,指的是外卖中的门店Id /// [JsonProperty(PropertyName = "poiId")] public string PoiId { get; set; } /// /// 门店名称,如:望京XXX店 /// [JsonProperty(PropertyName = "poiName")] public string PoiName { get; set; } /// /// 门店服务电话 /// [JsonProperty(PropertyName = "poiPhone")] public string PoiPhone { get; set; } /// /// 收货人地址,如:望京研发园B座5层@#北京市朝阳区酒仙桥街,实际的地址@#后是经纬度反查的地址,是用户订餐时定位的地址 /// [JsonProperty(PropertyName = "recipientAddress")] public string RecipientAddress { get; set; } /// /// 收货人名称,如:陈XX /// [JsonProperty(PropertyName = "recipientName")] public string RecipientName { get; set; } /// /// 收货人电话 /// [JsonProperty(PropertyName = "recipientPhone")] public string RecipientPhone { get; set; } /// /// 门店地址,如:XX区XX路X号X楼 /// [JsonProperty(PropertyName = "shipperPhone")] public string ShipperPhone { get; set; } /// /// 配送费用 /// [JsonProperty(PropertyName = "shippingFee")] public string ShippingFee { get; set; } /// /// 订单状态(1-用户已提交订单;2-可推送到App方平台也可推送到商家;3-商家已收到;4-商家已确认;6-已配送;8-已完成;9-已取消;) /// [JsonProperty(PropertyName = "status")] public int Status { get; set; } /// /// 总价,用户实际支付金额 /// [JsonProperty(PropertyName = "total")] public decimal Total { get; set; } /// /// 订单更新时间(格式:yyyy-MM-dd HH:mm:ss) /// [JsonProperty(PropertyName = "uTime")] public string UTime { get; set; } /// /// 门店当天的订单流水号,每天流水号从1开始 /// [JsonProperty(PropertyName = "daySeq")] public int DaySeq { get; set; } /// /// 就餐人数(商家可以根据就餐人数提供餐具,-10 表示10人以上) /// [JsonProperty(PropertyName = "dinnersNumber")] public string DinnersNumber { get; set; } /// /// 订单菜品详情 /// [JsonProperty(PropertyName = "detail")] public string Detail { get; set; } /// /// 订单扩展信息 /// [JsonProperty(PropertyName = "extras")] public string Extras { get; set; } /// /// 取餐类型 /// [JsonProperty(PropertyName = "pickType")] public string PickType { get; set; } /// /// 订单取消原因 /// [JsonProperty(PropertyName = "cancelReason")] public string CancelReason { get; set; } /// /// 取消原因编号 /// [JsonProperty(PropertyName = "cancelReasonCode")] public string CancelReasonCode { get; set; } /// /// 退单原因 /// [JsonProperty(PropertyName = "refundReason")] public string RefundReason { get; set; } /// /// 退单原因编码 /// [JsonProperty(PropertyName = "refundReasonCode")] public string RefundReasonCode { get; set; } } }