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); }
public WalletRecord(WalletRecordType type, long userId, decimal money, string remark) { Type = type; UserId = userId; Money = money; Remark = remark; }