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