|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace POSV.OtherWaiMai
|
|
|
|
|
{
|
|
|
|
|
[Serializable]
|
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
|
|
public class WeiXinOrderPays
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唯一ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "id")]
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门店ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "storeId")]
|
|
|
|
|
public string StoreId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <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 = "payNo")]
|
|
|
|
|
public string PayNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 付款类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "payType ")]
|
|
|
|
|
public string PayType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 付款方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "payMode")]
|
|
|
|
|
public string PayMode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 付款状态(0-未付款;1-已付款;2-已退款;3-已取消;)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "status")]
|
|
|
|
|
public int Status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 付款方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "paid")]
|
|
|
|
|
public decimal Paid { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 找零金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "rchange")]
|
|
|
|
|
public decimal Rchange { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 已收金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "money")]
|
|
|
|
|
public decimal Money { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "voucherNo")]
|
|
|
|
|
public string VoucherNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 付款时间(格式:yyyy-MM-dd HH:mm:ss)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "payDate")]
|
|
|
|
|
public string PayDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 付款账号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "payAccount")]
|
|
|
|
|
public string PayAccount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "memo")]
|
|
|
|
|
public string Memo { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|