21 lines
737 B
C#
21 lines
737 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace active_allocator.Entities;
|
|
|
|
public class Account
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
public int OwnerId { get; set; }
|
|
public User Owner { get; set; }
|
|
public DateTime LastActivity { get; set; }
|
|
public decimal Balance { get; set; }
|
|
public DateTime CreatedOn { get; set; }
|
|
public decimal InitialBalance { get; set; }
|
|
public int CurrencyId { get; set; }
|
|
public CurrencyType Currency { get; set; }
|
|
public string ExternalAccountNumber { get; set; }
|
|
public ICollection<Envelope> Envelopes { get; set; }
|
|
//public ICollection<Transaction> Transactions { get; set; }
|
|
//public Institution institution { get; set; }
|
|
} |