Files
CryptoProfile-Tracker/CryptoPortfolio Tracker/Models/Transaction.cs
T

42 lines
986 B
C#

using System;
using System.Collections.Generic;
namespace CryptoPortfolio_Tracker.Models;
public partial class Transaction
{
public long Id { get; set; }
public long CryptocurrencyId { get; set; }
public long WalletId { get; set; }
public DateTime TransactionDate { get; set; }
public int TransactionTypeId { get; set; }
public decimal Amount { get; set; }
public decimal PriceUsd { get; set; }
public decimal TotalUsd { get; set; }
public decimal FeeUsd { get; set; }
public string? TransactionHash { get; set; }
public int StatusId { get; set; }
public string? SenderAddress { get; set; }
public string? RecipientAddress { get; set; }
public virtual Cryptocurrency Cryptocurrency { get; set; } = null!;
public virtual TransactionsStatus Status { get; set; } = null!;
public virtual TransactionType TransactionType { get; set; } = null!;
public virtual UserWallet Wallet { get; set; } = null!;
}