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

22 lines
635 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
{
[AAttribute(typeof(FinanceTransaction))]
2021-12-06 19:41:20 +03:00
[MapFrom(typeof(FinanceTransaction))]
2021-12-06 19:27:46 +03:00
public partial class FinanceTransactionReadDto
{
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
}
}