public History(string tradingCode, string sendBankId, string receiveBankId, double amount, string content) { this.TradingCode = tradingCode; this.SendBankId = sendBankId; this.ReceiveBankId = receiveBankId; this.Amount = amount; this.Content = content; LongTime longtime = new LongTime(); this.DateTransaction = longtime.CurrentTimeMillis(); }
public User(string username, string bankId, double balance, string fullname, long birthday, string phone, int gender, string userId, string email, int status) { this.Username = username; this.BankId = bankId; this.Balance = balance; this.Fullname = fullname; this.Birthday = birthday; this.Phone = phone; this.Gender = gender; this.UserId = userId; this.Email = email; this.Status = status; LongTime longtime = new LongTime(); this.CreateAt = longtime.CurrentTimeMillis(); this.UpdateAt = longtime.CurrentTimeMillis(); }