using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using POSV.OtherWaiMai;
namespace POSV.Card
{
///
/// 历史订单查询
///
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class WeiXinOrderListResponse
{
///
/// 单据ID
///
[JsonProperty(PropertyName = "ticketId")]
public string TicketId { get; set; }
///
/// 单据编号
///
[JsonProperty(PropertyName = "ticketNo")]
public string TicketNo { get; set; }
///
/// 会员ID
///
[JsonProperty(PropertyName = "memberId")]
public string MemberId { get; set; }
///
/// 用户手机号
///
[JsonProperty(PropertyName = "phone")]
public string Phone { get; set; }
///
/// 取餐号
///
[JsonProperty(PropertyName = "takeNo")]
public string TakeNo { get; set; }
///
/// 单据状态(0-等待付款;1-已支付;2-已退单;3-已取消;4-商家已确认;5-已完成;)
///
[JsonProperty(PropertyName = "status")]
public int Status { get; set; }
///
/// 退单状态(0-用户未申请退单;1-退单处理中;2-商家拒绝退单;3-已退单;)
///
[JsonProperty(PropertyName = "refundStatus")]
public int RefundStatus { get; set; }
///
/// 销售渠道(1-微信点餐)
///
[JsonProperty(PropertyName = "channel")]
public string Channel { get; set; }
///
/// 销售时间(格式:yyyy-MM-dd HH:mm:ss)
///
[JsonProperty(PropertyName = "saleDate")]
public string SaleDate { get; set; }
///
/// 餐桌号
///
[JsonProperty(PropertyName = "tableNo")]
public string TableNo { get; set; }
///
/// 人数
///
[JsonProperty(PropertyName = "people")]
public int People { get; set; }
///
/// 营业模式(0-堂食;1-外带;2-外卖)
///
[JsonProperty(PropertyName = "busMode")]
public int BusMode { get; set; }
///
/// 消费金额
///
[JsonProperty(PropertyName = "amount")]
public decimal Amount { get; set; }
///
/// 优惠金额
///
[JsonProperty(PropertyName = "discountTotal")]
public decimal DiscountTotal { get; set; }
///
/// 优惠率
///
[JsonProperty(PropertyName = "discount")]
public decimal Discount { get; set; }
///
/// 应收金额
///
[JsonProperty(PropertyName = "receivable")]
public decimal Receivable { get; set; }
///
/// 抹零金额
///
[JsonProperty(PropertyName = "maling")]
public decimal Maling { get; set; }
///
/// 实收金额
///
[JsonProperty(PropertyName = "paid")]
public decimal Paid { get; set; }
///
/// 付款类型(1-在线支付;)
///
[JsonProperty(PropertyName = "payType")]
public int PayType { get; set; }
///
/// 付款方式(1-微信支付;)
///
[JsonProperty(PropertyName = "payMode")]
public int PayMode { get; set; }
///
/// 付款时间(格式:yyyy-MM-dd HH:mm:ss)
///
[JsonProperty(PropertyName = "payDate")]
public string PayDate { get; set; }
///
/// 是否使用会员卡(0-否;1-是;)
///
[JsonProperty(PropertyName = "isMember")]
public int IsMember { get; set; }
///
/// 是否失效(0-否;1-是;)
///
[JsonProperty(PropertyName = "isInvalid")]
public int IsInvalid { get; set; }
///
/// 订单收货地址经纬度(例:"121.83317,31.514559")
///
[JsonProperty(PropertyName = "deliveryGeo")]
public string DeliveryGeo { get; set; }
///
/// 备注说明
///
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
///
/// 收餐人名称
///
[JsonProperty(PropertyName = "receiveName")]
public string ReceiveName { get; set; }
///
/// 收餐人电话
///
[JsonProperty(PropertyName = "receiveMobile")]
public string ReceiveMobile { get; set; }
///
/// 收餐人地址
///
[JsonProperty(PropertyName = "receiveAddress")]
public string ReceiveAddress { get; set; }
///
/// 配送费
///
[JsonProperty(PropertyName = "distributionFee")]
public decimal DistributionFee { get; set; }
///
/// 餐盒费
///
[JsonProperty(PropertyName = "boxFee")]
public decimal BoxFee { get; set; }
///
/// 原单号
///
[JsonProperty(PropertyName = "noOrg")]
public string NoOrg { get; set; }
///
/// 退单原因
///
[JsonProperty(PropertyName = "backCause")]
public string BackCause { get; set; }
///
/// 订单明细
///
[JsonProperty(PropertyName = "items")]
public List Items { get; set; }
///
/// 支付明細
///
[JsonProperty(PropertyName = "pays")]
public List Pays { get; set; }
}
}