2025-03-28 09:49:56 +08:00

81 lines
2.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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