You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1002 B
C#

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace POSV.Entity.Pormotion
{
/// <summary>
/// 商品促销规则
/// </summary>
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class GoodsCutEntity
{
/// <summary>
/// 0 折扣 1固定金额
/// </summary>
[JsonProperty(PropertyName = "discountType")]
public int DiscountType { get; set; }
/// <summary>
/// 值
/// </summary>
[JsonProperty(PropertyName = "discount")]
public decimal Discount { get; set; }
/// <summary>
/// 售价
/// </summary>
[JsonProperty(PropertyName = "salePrice")]
public decimal SalePrice { get; set; }
/// <summary>
/// 优惠后的价格
/// </summary>
[JsonProperty(PropertyName = "specialPrice")]
public decimal SpecialPrice { get; set; }
}
}