30 lines
702 B
C#
30 lines
702 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace CryptoPortfolio_Tracker.Models;
|
|
|
|
public partial class UserWallet
|
|
{
|
|
public long Id { get; set; }
|
|
|
|
public string Name { get; set; } = null!;
|
|
|
|
public string Address { get; set; } = null!;
|
|
|
|
public int TypeId { get; set; }
|
|
|
|
public long UserId { get; set; }
|
|
|
|
public long? CryptocurrencyId { get; set; }
|
|
|
|
public decimal Amount { get; set; }
|
|
|
|
public virtual Cryptocurrency? Cryptocurrency { get; set; }
|
|
|
|
public virtual ICollection<Transaction> Transactions { get; set; } = new List<Transaction>();
|
|
|
|
public virtual WalletType Type { get; set; } = null!;
|
|
|
|
public virtual User User { get; set; } = null!;
|
|
}
|