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