Example #1
0
        private WalletRecord BuildWalletRecord(WalletRecordType type, long userId, decimal money, string remark)
        {
            WalletRecord walletRecord = new WalletRecord(type, userId, money, remark);

            walletRecord.SerialNumber = NumberProvider.BuildNumber();
            return(walletRecord);
        }
Example #2
0
 public WalletRecord(WalletRecordType type, long userId, decimal money, string remark)
 {
     Type   = type;
     UserId = userId;
     Money  = money;
     Remark = remark;
 }