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.

210 lines
5.1 KiB
C#

using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace POSV.Rechargefree
{
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class RechargeFreeResponse
{
//==================================private==================================
#region field
//卡号
private string cardNo;
//批次号
private string batchNo;
//流水号
private string serialNo;
//充值单号
private string rechargeNo;
//交易时间(格式:yyyy-MM-dd HH:mm:ss)
private string tradeTime;
//充值前余额(精确到分)
private int preAmount;
//充值金额(精确到分)
private int amount;
//本次赠送金额(精确到分)
private int giftAmount;
//充值后余额(精确到分)
private int aftAmount;
//充值前积分(精确到分)
private int prePoint;
//本次赠送积分(精确到分)
private int giftPoint;
//充值后积分(精确到分)
private int aftPoint;
#endregion
//==================================public==================================
#region cardNo 卡号
[JsonProperty(PropertyName = "cardNo")]
/// <summary>
/// 卡号
/// <summary>
public string CardNo
{
get { return cardNo; }
set { cardNo = value; }
}
#endregion
#region batchNo 批次号
[JsonProperty(PropertyName = "batchNo")]
/// <summary>
/// 批次号
/// <summary>
public string BatchNo
{
get { return batchNo; }
set { batchNo = value; }
}
#endregion
#region serialNo 流水号
[JsonProperty(PropertyName = "serialNo")]
/// <summary>
/// 流水号
/// <summary>
public string SerialNo
{
get { return serialNo; }
set { serialNo = value; }
}
#endregion
#region rechargeNo 充值单号
[JsonProperty(PropertyName = "rechargeNo")]
/// <summary>
/// 充值单号
/// <summary>
public string RechargeNo
{
get { return rechargeNo; }
set { rechargeNo = value; }
}
#endregion
#region tradeTime 交易时间(格式:yyyy-MM-dd HH:mm:ss)
[JsonProperty(PropertyName = "tradeTime")]
/// <summary>
/// 交易时间(格式:yyyy-MM-dd HH:mm:ss)
/// <summary>
public string TradeTime
{
get { return tradeTime; }
set { tradeTime = value; }
}
#endregion
#region preAmount 充值前余额(精确到分)
[JsonProperty(PropertyName = "preAmount")]
/// <summary>
/// 充值前余额(精确到分)
/// <summary>
public int PreAmount
{
get { return preAmount; }
set { preAmount = value; }
}
#endregion
#region amount 充值金额(精确到分)
[JsonProperty(PropertyName = "amount")]
/// <summary>
/// 充值金额(精确到分)
/// <summary>
public int Amount
{
get { return amount; }
set { amount = value; }
}
#endregion
#region giftAmount 本次赠送金额(精确到分)
[JsonProperty(PropertyName = "giftAmount")]
/// <summary>
/// 本次赠送金额(精确到分)
/// <summary>
public int GiftAmount
{
get { return giftAmount; }
set { giftAmount = value; }
}
#endregion
#region aftAmount 充值后余额(精确到分)
[JsonProperty(PropertyName = "aftAmount")]
/// <summary>
/// 充值后余额(精确到分)
/// <summary>
public int AftAmount
{
get { return aftAmount; }
set { aftAmount = value; }
}
#endregion
#region prePoint 充值前积分(精确到分)
[JsonProperty(PropertyName = "prePoint")]
/// <summary>
/// 充值前积分(精确到分)
/// <summary>
public int PrePoint
{
get { return prePoint; }
set { prePoint = value; }
}
#endregion
#region giftPoint 本次赠送积分(精确到分)
[JsonProperty(PropertyName = "giftPoint")]
/// <summary>
/// 本次赠送积分(精确到分)
/// <summary>
public int GiftPoint
{
get { return giftPoint; }
set { giftPoint = value; }
}
#endregion
#region aftPoint 充值后积分(精确到分)
[JsonProperty(PropertyName = "aftPoint")]
/// <summary>
/// 充值后积分(精确到分)
/// <summary>
public int AftPoint
{
get { return aftPoint; }
set { aftPoint = value; }
}
#endregion
}
}