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")] /// /// 卡号 /// public string CardNo { get { return cardNo; } set { cardNo = value; } } #endregion #region batchNo 批次号 [JsonProperty(PropertyName = "batchNo")] /// /// 批次号 /// public string BatchNo { get { return batchNo; } set { batchNo = value; } } #endregion #region serialNo 流水号 [JsonProperty(PropertyName = "serialNo")] /// /// 流水号 /// public string SerialNo { get { return serialNo; } set { serialNo = value; } } #endregion #region rechargeNo 充值单号 [JsonProperty(PropertyName = "rechargeNo")] /// /// 充值单号 /// public string RechargeNo { get { return rechargeNo; } set { rechargeNo = value; } } #endregion #region tradeTime 交易时间(格式:yyyy-MM-dd HH:mm:ss) [JsonProperty(PropertyName = "tradeTime")] /// /// 交易时间(格式:yyyy-MM-dd HH:mm:ss) /// public string TradeTime { get { return tradeTime; } set { tradeTime = value; } } #endregion #region preAmount 充值前余额(精确到分) [JsonProperty(PropertyName = "preAmount")] /// /// 充值前余额(精确到分) /// public int PreAmount { get { return preAmount; } set { preAmount = value; } } #endregion #region amount 充值金额(精确到分) [JsonProperty(PropertyName = "amount")] /// /// 充值金额(精确到分) /// public int Amount { get { return amount; } set { amount = value; } } #endregion #region giftAmount 本次赠送金额(精确到分) [JsonProperty(PropertyName = "giftAmount")] /// /// 本次赠送金额(精确到分) /// public int GiftAmount { get { return giftAmount; } set { giftAmount = value; } } #endregion #region aftAmount 充值后余额(精确到分) [JsonProperty(PropertyName = "aftAmount")] /// /// 充值后余额(精确到分) /// public int AftAmount { get { return aftAmount; } set { aftAmount = value; } } #endregion #region prePoint 充值前积分(精确到分) [JsonProperty(PropertyName = "prePoint")] /// /// 充值前积分(精确到分) /// public int PrePoint { get { return prePoint; } set { prePoint = value; } } #endregion #region giftPoint 本次赠送积分(精确到分) [JsonProperty(PropertyName = "giftPoint")] /// /// 本次赠送积分(精确到分) /// public int GiftPoint { get { return giftPoint; } set { giftPoint = value; } } #endregion #region aftPoint 充值后积分(精确到分) [JsonProperty(PropertyName = "aftPoint")] /// /// 充值后积分(精确到分) /// public int AftPoint { get { return aftPoint; } set { aftPoint = value; } } #endregion } }