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.
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace POSV.Card
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gift(获取积分兑换方案详情信息)说明
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable]
|
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
|
|
public class PointExchangeSchemeDetailGift
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 礼品编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "no")]
|
|
|
|
|
public string No { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 礼品名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "name")]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 礼品规格
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "spec")]
|
|
|
|
|
public string Spec { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 礼品单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "unit")]
|
|
|
|
|
public string Unit { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 礼品条码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "barcode")]
|
|
|
|
|
public string Barcode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 礼品价值(单个)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "worth")]
|
|
|
|
|
public decimal Worth { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单次赠送数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "num")]
|
|
|
|
|
public decimal Num { get; set; }
|
|
|
|
|
|
|
|
|
|
public string DisPlayName
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return string.Format("{0}{1}{2}个", this.Name, this.Spec, this.Num);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|