mods
This commit is contained in:
parent
034e6727c3
commit
4b139ec8b0
|
@ -1,4 +1,4 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netstandard2.0</TargetFramework>
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="MapTo" Version="0.8.3-g4d73897b4e" />
|
<PackageReference Include="MapTo" Version="0.8.4-ge314387772" />
|
||||||
<PackageReference Include="MessagePack" Version="2.3.85" />
|
<PackageReference Include="MessagePack" Version="2.3.85" />
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="6.0.4" />
|
<PackageReference Include="Newtonsoft.Json" Version="6.0.4" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
@ -6,7 +6,16 @@ using MapTo;
|
||||||
namespace BlueWest.Data
|
namespace BlueWest.Data
|
||||||
{
|
{
|
||||||
[AAttribute(typeof(FinanceTransaction))]
|
[AAttribute(typeof(FinanceTransaction))]
|
||||||
|
[MapFrom(typeof(FinanceTransaction))]
|
||||||
public partial class FinanceTransactionReadDto
|
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; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
MapTo
2
MapTo
|
@ -1 +1 @@
|
||||||
Subproject commit e3143877729241799c8c578bc4efb062ace8ba00
|
Subproject commit eb32ef8e94ec1eb8f49fcc207045456f256eabf1
|
Loading…
Reference in New Issue