public CoinLog(Guid clientId, decimal flowCoin, decimal coin, CoinLogTypeEnum type, Guid aboutId, string remark) { ClientId = clientId; FlowCoin = flowCoin; Coin = coin; Type = type; AboutId = aboutId; Remark = remark; }
public void AddMoney(decimal money, CoinLogTypeEnum type, Guid aboutId, out CoinLog coinLog, string remark) { Coin += money; coinLog = new CoinLog(ClientId, money, Coin, type, aboutId, remark); }