diff --git a/BlueWest.Data/BlueWest.Data.csproj b/BlueWest.Data/BlueWest.Data.csproj index 1bfff06..f3ea988 100644 --- a/BlueWest.Data/BlueWest.Data.csproj +++ b/BlueWest.Data/BlueWest.Data.csproj @@ -1,4 +1,4 @@ - + netstandard2.0 @@ -7,7 +7,7 @@ - + diff --git a/BlueWest.Data/Data/FinanceTransactionReadDto.cs b/BlueWest.Data/Data/FinanceTransactionReadDto.cs index 0b667ee..dfe57f0 100644 --- a/BlueWest.Data/Data/FinanceTransactionReadDto.cs +++ b/BlueWest.Data/Data/FinanceTransactionReadDto.cs @@ -6,7 +6,16 @@ using MapTo; namespace BlueWest.Data { [AAttribute(typeof(FinanceTransaction))] + [MapFrom(typeof(FinanceTransaction))] public partial class FinanceTransactionReadDto { + public int Id { get; set; } + public int UserId { get; set; } + public FinanceTransactionType FinanceTransactionType { get; } + public FinanceSymbol FinanceSymbol { get; } + public double Amount { get; } // To Buy + public double Quantity { get; } // Bought + public double Fee { get; } + public DateTime DateTime { get; } } } diff --git a/MapTo b/MapTo index e314387..eb32ef8 160000 --- a/MapTo +++ b/MapTo @@ -1 +1 @@ -Subproject commit e3143877729241799c8c578bc4efb062ace8ba00 +Subproject commit eb32ef8e94ec1eb8f49fcc207045456f256eabf1