using System; using System.Collections.Generic; using System.Text; using MapTo; namespace BlueWest.Data { [MapFrom(typeof(FinanceTransaction))] public partial struct FinanceTransactionReadDto { public TimeSpan CreationDate { get; set; } public TimeSpan UserId { get; set; } public string Currency { get; } public double Amount { get; } // To Buy public double Quantity { get; } // Bought public double Fee { get; } public TimeSpan UploadedDate { get; } public TimeSpan TransactionDate { get; } } }