src/Blockchain.Investments.Core/Domain/ReadModel/Dtos/AccountDto.cs
using System;
using Blockchain.Investments.Core.Domain;
using Blockchain.Investments.Core.Infrastructure.Domain;
namespace Blockchain.Investments.Core.ReadModel.Dtos
{
public class AccountDto : BaseEntity
{
public Guid AggregateId;
public string Title;
public string Description;
public string Notes;
public string Code;
public AccountType Type;
public CounterpartyType CounterpartyType;
public Security Security;
public string ParentAccountId;
public AccountDto() {}
public AccountDto(Guid id, string title, string description, string notes, string code,
AccountType type, CounterpartyType counterpartyType, Security security, string parentAccountId)
{
AggregateId = id;
Title = title;
Description = description;
Notes = notes;
Code = code;
Type = type;
CounterpartyType = counterpartyType;
Security = security;
ParentAccountId = parentAccountId;
}
}
}