|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace POSV.Card
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 查询优惠券核销记录响应对象
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable]
|
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
|
|
public class CouponConsumeRecordResponse
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "tenantId")]
|
|
|
|
|
public string TenantId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "tradeNo")]
|
|
|
|
|
public string TradeNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 优惠券类型(CASH-代金券; DISCOUNT-折扣券; GIFT-兑换券)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "couponType")]
|
|
|
|
|
public string CouponType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 优惠券类型名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "couponTypeCn")]
|
|
|
|
|
public string CouponTypeCn { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 优惠券标题
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "title")]
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 优惠券号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "code")]
|
|
|
|
|
public string Code { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 起用金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "leastCost")]
|
|
|
|
|
public decimal LeastCost { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 减免金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "reduceCost")]
|
|
|
|
|
public decimal ReduceCost { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 打折额度
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "discount")]
|
|
|
|
|
public decimal Discount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 消费金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "consumeAmount")]
|
|
|
|
|
public decimal ConsumeAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 价值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "worth")]
|
|
|
|
|
public decimal Worth { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 会员ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "memberId")]
|
|
|
|
|
public string MemberId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 会员手机号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "mobile")]
|
|
|
|
|
public string Mobile { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 会员名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "memberName")]
|
|
|
|
|
public string MemberName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 核销时间(yyyy-MM-dd HH:mm:ss)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "consumeTime")]
|
|
|
|
|
public string ConsumeTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 核销门店编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "shopNo")]
|
|
|
|
|
public string ShopNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 核销门店名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "shopName")]
|
|
|
|
|
public string ShopName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 核销设备编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "posNo")]
|
|
|
|
|
public string PosNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 核销员工号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "worker")]
|
|
|
|
|
public string Worker { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|