using System;
using System.Collections.Generic;
using System.Text;
namespace Dfs.WayneChina.SpsDataCourier.Guard
{
public class Card
{
public ulong Id { get; set; }
///
/// Original global record id.
///
public ulong Gid { get; set; }
public byte CardSNo { get; set; }
public ushort SNo { get; set; }
public ulong CardId { get; set; }
public string CardNo { get; set; }
public ushort CTC { get; set; }
public string CTCTime { get; set; }
public ulong AccountGid { get; set; }
public string AccountId { get; set; }
public string UserNo { get; set; }
public string Holder { get; set; }
public string PhoneNo { get; set; }
public uint DMaxPay { get; set; }
public uint MMaxPay { get; set; }
public uint YMaxPay { get; set; }
public uint OnceMaxPay { get; set; }
public byte LimitCar { get; set; }
public string CarNo { get; set; }
public byte Status { get; set; }
public string UserPin { get; set; }
public DateTime OverDate { get; set; }
public DateTime KcDate { get; set; }
public string OperatorNo { get; set; }
public byte LimitGood { get; set; }
public string LimitOil { get; set; }
public byte CardType { get; set; }
public string AuthStr { get; set; }
public string TempCheckStr { get; set; }
public ushort DiscountNo { get; set; }
public DateTime StartDate { get; set; }
public uint PreMalloc { get; set; }
///
/// field `money`
///
public uint Balance { get; set; }
///
/// might be negative value
///
public long RechargeTotal { get; set; }
public uint IntegralTotal { get; set; }
public byte CardClass { get; set; }
public uint TMac { get; set; }
public byte LimitTimes { get; set; }
public byte UploadFlag { get; set; }
public uint CTCFlag { get; set; }
public byte EnableSms { get; set; }
#region Custom Fields
public long VersionNo { get; set; }
public DateTime LastUpdate { get; set; } = DateTime.Now;
public byte CommitFlag { get; set; }
public byte SyncFlag { get; set; }
#endregion
}
}