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.

153 lines
4.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace POSV.Card
{
/// <summary>
/// 充值方案列表
/// </summary>
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class CardRechargeSchemeListResponse
{
/// <summary>
/// 卡类型ID
/// </summary>
[JsonProperty(PropertyName = "cardTypeId")]
public string CardTypeId { get; set; }
/// <summary>
/// 卡类型编号
/// </summary>
[JsonProperty(PropertyName = "cardTypeNo")]
public string CardTypeNo { get; set; }
/// <summary>
/// 卡类型名称
/// </summary>
[JsonProperty(PropertyName = "cardTypeName")]
public string CardTypeName { get; set; }
/// <summary>
/// 充值方案ID
/// </summary>
[JsonProperty(PropertyName = "schemeId")]
public string SchemeId { get; set; }
/// <summary>
/// 充值方案编号
/// </summary>
[JsonProperty(PropertyName = "schemeNo")]
public string SchemeNo { get; set; }
/// <summary>
/// 充值方案名称
/// </summary>
[JsonProperty(PropertyName = "schemeName")]
public string SchemeName { get; set; }
/// <summary>
/// 最低充值额度
/// </summary>
[JsonProperty(PropertyName = "minAmount")]
public decimal MinAmount { get; set; }
/// <summary>
/// 最高充值额度(值为0时表示不限制该金额)
/// </summary>
[JsonProperty(PropertyName = "maxAmount")]
public decimal MaxAmount { get; set; }
/// <summary>
/// 除数值
/// </summary>
[JsonProperty(PropertyName = "divisor")]
public int Divisor { get; set; }
/// <summary>
/// 是否手动录入金额(0-否 1-是)
/// </summary>
[JsonProperty(PropertyName = "inputFlag")]
public decimal InputFlag { get; set; }
/// <summary>
/// 充值标签
/// </summary>
[JsonProperty(PropertyName = "tags")]
public string Tgs { get; set; }
/// <summary>
/// 是否赠送(0-否 1-是)
/// </summary>
[JsonProperty(PropertyName = "giftDetailFlag")]
public int GiftDetailFlag { get; set; }
/// <summary>
/// 是否赠送礼品标识(0-否 1-是)
/// </summary>
[JsonProperty(PropertyName = "giftFlag")]
public int GiftFlag { get; set; }
/// <summary>
/// 是否赠送电子券标识(0-否 1-是)
/// </summary>
[JsonProperty(PropertyName = "couponFlag")]
public int CouponFlag { get; set; }
/// <summary>
/// 充值金额是否分期(0-否 1-是)
/// </summary>
[JsonProperty(PropertyName = "amountBatchFlag")]
public int AmountBatchFlag { get; set; }
/// <summary>
/// 赠送金额是否分期(0-否 1-是)
/// </summary>
[JsonProperty(PropertyName = "giftAmountBatchFlag")]
public int GiftAmountBatchFlag { get; set; }
/// <summary>
/// 优惠说明
/// </summary>
[JsonProperty(PropertyName = "discountDesc")]
public string DiscountDesc { get; set; }
/// <summary>
/// 充值方案备注说明
/// </summary>
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
/// <summary>
/// 充值方案明细信息列表
/// </summary>
[JsonProperty(PropertyName = "detail")]
public List<CardRechargeSchemeDetail> Detail { get; set; }
/// <summary>
/// 充值方案赠送礼品信息列表
/// </summary>
[JsonProperty(PropertyName = "gift")]
public List<CardRechargeSchemeGift> Gift { get; set; }
/// <summary>
/// 充值方案赠送券信息列表
/// </summary>
[JsonProperty(PropertyName = "coupon")]
public List<CardRechargeSchemeCoupon> Coupon { get; set; }
/// <summary>
/// 充值金额批次列表
/// </summary>
[JsonProperty(PropertyName = "amountBatch")]
public List<CardRechargeSchemeAmountBatch> AmountBatch { get; set; }
/// <summary>
/// 赠送金额批次列表
/// </summary>
[JsonProperty(PropertyName = "giftAmountBatch")]
public List<CardRechargeSchemeGiftAmountBatch> GiftAmountBatch { get; set; }
}
}