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

23 lines
591 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
2022-08-04 03:59:04 +03:00
public partial class FinanceTransactionReadDto
2021-12-06 19:27:46 +03:00
{
2022-08-01 00:09:39 +03:00
public TimeSpan CreationDate { get; set; }
public TimeSpan UserId { get; set; }
public string Currency { get; }
2021-12-06 19:41:20 +03:00
public double Amount { get; } // To Buy
public double Quantity { get; } // Bought
public double Fee { get; }
2022-08-01 00:09:39 +03:00
public TimeSpan UploadedDate { get; }
public TimeSpan TransactionDate { get; }
2021-12-06 19:27:46 +03:00
}
}