using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace POSV.Card
{
///
/// Coupon(充值方案赠送电子券信息)说明
///
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class CardRechargeSchemeCoupon
{
///
/// 赠送信息ID(唯一标识)
///
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
///
/// 起始金额
///
[JsonProperty(PropertyName = "startAmount")]
public decimal StartAmount { get; set; }
///
/// 券类型
///
[JsonProperty(PropertyName = "couponType")]
public string CouponType { get; set; }
///
/// 券编号
///
[JsonProperty(PropertyName = "couponNo")]
public string CouponNo { get; set; }
///
/// 券标题
///
[JsonProperty(PropertyName = "title")]
public string Title { get; set; }
///
/// 优惠描述
///
[JsonProperty(PropertyName = "content")]
public string Content { get; set; }
///
/// 单次赠送数量
///
[JsonProperty(PropertyName = "num")]
public decimal Num { get; set; }
///
/// 总数
///
[JsonProperty(PropertyName = "limitNum")]
public decimal LimitNum { get; set; }
///
/// 已送数量
///
[JsonProperty(PropertyName = "outNum")]
public decimal OutNum { get; set; }
public string DisPlayName
{
get
{
return string.Format("{0}{1}个", this.Title, this.Num);
}
}
}
}