Class Transaction
- Namespace
- BankBackend.Models
- Assembly
- BankBackend.dll
- Inheritance
-
Transaction
- Inherited Members
-
Constructors
Transaction()
Transaction(Account, Account, double)
public Transaction(Account fromAccount, Account toAccount, double amount)
Parameters
fromAccount Account
toAccount Account
amount double
Transaction(Account, double)
public Transaction(Account account, double amount)
Parameters
account Account
amount double
Properties
Amount
public double Amount { get; set; }
Property Value
- double
FromAccount
public Account FromAccount { get; set; }
Property Value
- Account
Time
public DateTime Time { get; set; }
Property Value
- DateTime
ToAccount
public Account? ToAccount { get; set; }
Property Value
- Account
TransactionId
[Key]
public int TransactionId { get; set; }
Property Value
- int