CodeLiturgy.Dashboard/BlueWest.Data/Data/FinanceTransactionReadDto.cs

22 lines
592 B
C#
Raw Normal View History

2021-12-06 19:27:46 +03:00
using System;
using System.Collections.Generic;
using System.Text;
using MapTo;
namespace BlueWest.Data
{
2021-12-06 19:41:20 +03:00
[MapFrom(typeof(FinanceTransaction))]
2021-12-06 19:48:34 +03:00
2021-12-07 14:46:49 +03:00
public partial struct FinanceTransactionReadDto
2021-12-06 19:27:46 +03:00
{
2021-12-06 19:41:20 +03:00
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; }
2021-12-06 19:27:46 +03:00
}
}