using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.Card { /// /// CouponDetail属性说明 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class CardRechargeCoupon { /// /// 券类型(DISCOUNT-折扣券 CASH-代金券) /// [JsonProperty(PropertyName = "couponType")] public string CouponType { get; set; } /// /// 卡券号码(多个以,分割) /// [JsonProperty(PropertyName = "codes")] public string Codes { get; set; } /// /// 券标题 /// [JsonProperty(PropertyName = "title")] public string Title { get; set; } /// /// 券描述 /// [JsonProperty(PropertyName = "couponDesc")] public string CouponDesc { get; set; } /// /// 赠送数量 /// [JsonProperty(PropertyName = "num")] public int Num { get; set; } } }