MapTo/test/TestConsoleApp/Data/FinanceTransactionReadDto.cs

21 lines
550 B
C#
Raw Normal View History

2021-12-08 21:20:51 +03:00
using System;
using System.Collections.Generic;
using System.Text;
using MapTo;
namespace BlueWest.Data
{
[MapFrom(typeof(FinanceTransaction))]
2021-12-11 14:51:54 +03:00
partial struct FinanceTransactionReadDto
2021-12-08 21:20:51 +03:00
{
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; }
}
}