using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.Entity.Pormotion { /// /// 满减促销规则 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class FullCutEntity { /// /// 0 满减 1每满减 2阶梯满减 /// [JsonProperty(PropertyName = "type")] public int Type { get; set; } /// /// 规则项 /// [JsonProperty(PropertyName = "values")] public List Values { get; set; } /// /// 规则描述 /// [JsonProperty(PropertyName = "memo")] public string Memo { get; set; } } /// /// 满减促销规则项 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class FullCutItemEntity { /// /// 消费满**元 /// [JsonProperty(PropertyName = "amount")] public decimal Amount { get; set; } /// /// 0 按折扣 1 按金额 /// [JsonProperty(PropertyName = "discountType")] public int DiscountType { get; set; } /// /// 值 /// [JsonProperty(PropertyName = "discount")] public decimal Discount { get; set; } } }