using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace libEShangPB
{
[ComVisible(false)]
internal class ZCGCCouponModel
{
///
/// 是否可用
///
public bool Useable { get; set; }
///
/// 是否推荐
///
public bool Recommend { get; set; }
///
/// 会员编码
///
public string UserCode { get; set; }
///
/// 券模板 id
///
public int CouponId { get; set; }
///
/// 券码
///
public string CouponCode { get; set; }
///
/// 券名称
///
public string CouponName { get; set; }
///
/// 使用门槛金额
///
public decimal? LimitPrice { get; set; }
///
/// 券抵扣价值
///
public decimal CouponValue { get; set; }
///
/// 折扣比例
///
public decimal? DiscountRule { get; set; }
///
/// 使用开始时间
///
public DateTime UseBeginTime { get; set; }
///
/// 使用截止时间
///
public string UseEndTime { get; set; }
///
/// 领取时间
///
public string ReceiveTime { get; set; }
///
/// 优惠类型(0:满减、1:满折、2:代金、3:商品兑换)
///
public int PreferentialType { get; set; }
///
/// 使用生命周期(0:指定生命周期可用、1:领取后指定指定时长内有效)
///
public int UseLifeCycle { get; set; }
///
/// 获取方式(0:手动领取、1:系统赠送、2:积分兑换、3:购买)
///
[JsonProperty(PropertyName = "getType")]
public int CouponGetType { get; set; }
///
/// 状态(0:待使用、1:已使用、2:已过期、3:已退款)
///
public int Status { get; set; }
}
}