private void Handle(WalletCreatedEvent evnt) { _cash = 0; _lockedCash = 0; _benevolence = 0; _bankCards = new List <BankCard>(); _withdrawApplys = new List <WithdrawApply>(); _rechargeApplys = new List <RechargeApply>(); _cashTransfers = new HashSet <Guid>(); _benevolenceTransfers = new HashSet <Guid>(); _userId = evnt.UserId; _walletStatisticInfo = new WalletStatisticInfo(0, 0, 0, 0, 0, DateTime.Now); _withdrawStatisticInfo = new WithdrawStatisticInfo(0, 0, 0, DateTime.Now); }
private void Handle(WithdrawStatisticInfoChangedEvent evnt) { _withdrawStatisticInfo = evnt.Info; }