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